mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
fuzz: minor adjustment on op_test
This commit is contained in:
parent
6de5c5984d
commit
7a0ad43087
@ -118,7 +118,7 @@ using namespace modsecurity;
|
||||
#include <signal.h>
|
||||
#include <string.h>
|
||||
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user