Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch for Issue #340 #354

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified .github/workflows/run_centos_7.yml
100644 → 100755
Empty file.
Empty file modified .github/workflows/run_centos_8.yml
100644 → 100755
Empty file.
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified .travis.yml
100644 → 100755
Empty file.
Empty file modified AUTHORS
100644 → 100755
Empty file.
Empty file modified COPYING
100644 → 100755
Empty file.
Empty file modified COPYING.ASL20
100644 → 100755
Empty file.
Empty file modified ChangeLog
100644 → 100755
Empty file.
Empty file modified Doxyfile
100644 → 100755
Empty file.
Empty file modified Makefile.am
100644 → 100755
Empty file.
Empty file modified NEWS
100644 → 100755
Empty file.
Empty file modified README
100644 → 100755
Empty file.
Empty file modified compat/Makefile.am
100644 → 100755
Empty file.
Empty file modified compat/asprintf.c
100644 → 100755
Empty file.
Empty file modified compat/strndup.c
100644 → 100755
Empty file.
Empty file modified compatibility-v2
100644 → 100755
Empty file.
Empty file modified configure.ac
100644 → 100755
Empty file.
Empty file modified devtools/default_dev_container
100644 → 100755
Empty file.
Empty file modified doc/.gitignore
100644 → 100755
Empty file.
Empty file modified doc/Makefile.am
100644 → 100755
Empty file.
Empty file modified doc/Makefile.sphinx
100644 → 100755
Empty file.
Empty file modified doc/_static/.gitignore
100644 → 100755
Empty file.
Empty file modified doc/_templates/.gitignore
100644 → 100755
Empty file.
Empty file modified doc/changes.rst
100644 → 100755
Empty file.
Empty file modified doc/conf.py
100644 → 100755
Empty file.
Empty file modified doc/configuration.rst
100644 → 100755
Empty file.
Empty file modified doc/contacts.rst
100644 → 100755
Empty file.
Empty file modified doc/graph.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified doc/index.rst
100644 → 100755
Empty file.
Empty file modified doc/installation.rst
100644 → 100755
Empty file.
Empty file modified doc/internals.rst
100644 → 100755
Empty file.
Empty file modified doc/introduction.rst
100644 → 100755
Empty file.
Empty file modified doc/libraryapi.rst
100644 → 100755
Empty file.
Empty file modified doc/license.rst
100644 → 100755
Empty file.
Empty file modified doc/lognormalizer.rst
100644 → 100755
Empty file.
Empty file modified doc/sample_rulebase.rst
100644 → 100755
Empty file.
Empty file modified lognorm.pc.in
100644 → 100755
Empty file.
Empty file modified m4/dummy
100644 → 100755
Empty file.
Empty file modified rulebases/cisco.rulebase
100644 → 100755
Empty file.
Empty file modified rulebases/messages.rulebase
100644 → 100755
Empty file.
Empty file modified rulebases/sample.rulebase
100644 → 100755
Empty file.
Empty file modified rulebases/syntax.txt
100644 → 100755
Empty file.
3 changes: 3 additions & 0 deletions rulebases/utf8.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
version=2

rule=:msg=%msg:string%
Empty file modified src/.gitignore
100644 → 100755
Empty file.
Empty file modified src/Makefile.am
100644 → 100755
Empty file.
Empty file modified src/annot.c
100644 → 100755
Empty file.
Empty file modified src/annot.h
100644 → 100755
Empty file.
Empty file modified src/enc.h
100644 → 100755
Empty file.
Empty file modified src/enc_csv.c
100644 → 100755
Empty file.
Empty file modified src/enc_syslog.c
100644 → 100755
Empty file.
Empty file modified src/enc_xml.c
100644 → 100755
Empty file.
Empty file modified src/helpers.h
100644 → 100755
Empty file.
Empty file modified src/internal.h
100644 → 100755
Empty file.
Empty file modified src/liblognorm.c
100644 → 100755
Empty file.
Empty file modified src/liblognorm.h
100644 → 100755
Empty file.
Empty file modified src/lognorm-features.h.in
100644 → 100755
Empty file.
Empty file modified src/lognorm.c
100644 → 100755
Empty file.
Empty file modified src/lognorm.h
100644 → 100755
Empty file.
Empty file modified src/lognormalizer.c
100644 → 100755
Empty file.
5 changes: 3 additions & 2 deletions src/parser.c
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3380,7 +3380,7 @@ stringSetPermittedChar(struct data_String *const data, char c, int val)
data->perm_chars[(unsigned)c] = val;
}
static inline int
stringIsPermittedChar(struct data_String *const data, char c)
stringIsPermittedChar(struct data_String *const data, unsigned char c)
{
return data->perm_chars[(unsigned)c];
}
Expand Down Expand Up @@ -3509,7 +3509,8 @@ PARSER_Parse(String)
/* terminating conditions */
if(!bHaveQuotes && npb->str[i] == ' ')
break;
if(!stringIsPermittedChar(data, npb->str[i]))

if(!stringIsPermittedChar(data, (unsigned char)npb->str[i]))
break;
i++;
}
Expand Down
Empty file modified src/parser.h
100644 → 100755
Empty file.
Empty file modified src/pdag.c
100644 → 100755
Empty file.
Empty file modified src/pdag.h
100644 → 100755
Empty file.
Empty file modified src/samp.c
100644 → 100755
Empty file.
Empty file modified src/samp.h
100644 → 100755
Empty file.
Empty file modified src/v1_liblognorm.c
100644 → 100755
Empty file.
Empty file modified src/v1_liblognorm.h
100644 → 100755
Empty file.
Empty file modified src/v1_parser.c
100644 → 100755
Empty file.
Empty file modified src/v1_parser.h
100644 → 100755
Empty file.
Empty file modified src/v1_ptree.c
100644 → 100755
Empty file.
Empty file modified src/v1_ptree.h
100644 → 100755
Empty file.
Empty file modified src/v1_samp.c
100644 → 100755
Empty file.
Empty file modified src/v1_samp.h
100644 → 100755
Empty file.
Empty file modified tests/.gitignore
100644 → 100755
Empty file.
Empty file modified tests/Makefile.am
100644 → 100755
Empty file.
Empty file modified tests/exec.sh
100644 → 100755
Empty file.
Empty file modified tests/json_eq.c
100644 → 100755
Empty file.
Empty file modified tests/options.sh.in
100644 → 100755
Empty file.
Empty file modified tests/user_test.c
100644 → 100755
Empty file.
Empty file modified tools/Makefile.am
100644 → 100755
Empty file.
Empty file modified tools/lablog
100644 → 100755
Empty file.
Empty file modified tools/logrecord.h
100644 → 100755
Empty file.
Empty file modified tools/slsa.c
100644 → 100755
Empty file.
Empty file modified tools/squashml.c
100644 → 100755
Empty file.
Empty file modified tools/syntaxes.c
100644 → 100755
Empty file.
Empty file modified tools/syntaxes.h
100644 → 100755
Empty file.