mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-15 23:55:03 +03:00
Fix validate byte range table initizliation
This commit is contained in:
parent
187be64edf
commit
a324ff9317
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include <cstring>
|
||||||
|
|
||||||
#include "operators/operator.h"
|
#include "operators/operator.h"
|
||||||
|
|
||||||
@ -29,7 +30,9 @@ class ValidateByteRange : public Operator {
|
|||||||
public:
|
public:
|
||||||
/** @ingroup ModSecurity_Operator */
|
/** @ingroup ModSecurity_Operator */
|
||||||
ValidateByteRange(std::string op, std::string param, bool negation)
|
ValidateByteRange(std::string op, std::string param, bool negation)
|
||||||
: Operator(op, param, negation) { }
|
: Operator(op, param, negation) {
|
||||||
|
std::memset(table, '\0', sizeof(char) * 32);
|
||||||
|
}
|
||||||
|
|
||||||
~ValidateByteRange() override { }
|
~ValidateByteRange() override { }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user