From 7a0ad43087878a7fb2e2c89c6bacc66946ce231a Mon Sep 17 00:00:00 2001 From: Felipe Zimmerle Date: Tue, 24 Mar 2020 09:42:45 -0300 Subject: [PATCH] fuzz: minor adjustment on op_test --- test/fuzzer/afl_fuzzer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fuzzer/afl_fuzzer.cc b/test/fuzzer/afl_fuzzer.cc index fc12f5e1..d544bc74 100644 --- a/test/fuzzer/afl_fuzzer.cc +++ b/test/fuzzer/afl_fuzzer.cc @@ -118,7 +118,7 @@ using namespace modsecurity; #include #include -inline void op_test(const std::string &opName, std::string &s) { +inline void op_test(const std::string &opName, const std::string &s) { Operator *op = Operator::instantiate(opName, ""); op->init("", nullptr); op->evaluate(nullptr, nullptr, s, nullptr);