mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Fix missing initialization on rules-check utility
This commit is contained in:
parent
6d61bd6b57
commit
9ea5b475b2
@ -309,7 +309,9 @@ AC_CONFIG_FILES([\
|
||||
Makefile \
|
||||
doc/Makefile \
|
||||
src/Makefile \
|
||||
others/Makefile
|
||||
others/Makefile \
|
||||
tools/Makefile \
|
||||
tools/rules-check/Makefile
|
||||
])
|
||||
|
||||
AM_COND_IF([TEST_UTILITIES],
|
||||
@ -321,8 +323,6 @@ AM_COND_IF([EXAMPLES],
|
||||
examples/simple_example_using_c/Makefile \
|
||||
examples/multiprocess_c/Makefile \
|
||||
examples/reading_logs_with_offset/Makefile \
|
||||
tools/Makefile \
|
||||
tools/rules-check/Makefile \
|
||||
])])
|
||||
|
||||
AM_COND_IF([AFL_FUZZER],
|
||||
|
14
tools/Makefile.am
Normal file
14
tools/Makefile.am
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
ACLOCAL_AMFLAGS = -I build
|
||||
|
||||
|
||||
SUBDIRS = \
|
||||
rules-check
|
||||
|
||||
# make clean
|
||||
CLEANFILES =
|
||||
|
||||
# make maintainer-clean
|
||||
MAINTAINERCLEANFILES = \
|
||||
Makefile.in
|
||||
|
@ -46,7 +46,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
while (*args != NULL) {
|
||||
struct stat buffer;
|
||||
std::string argFull;
|
||||
std::string argFull("");
|
||||
const char *arg = *args;
|
||||
std::string err;
|
||||
int r;
|
||||
|
Loading…
x
Reference in New Issue
Block a user