mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
Fix validate byte range table initizliation
This commit is contained in:
parent
187be64edf
commit
a324ff9317
@ -18,6 +18,7 @@
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <cstring>
|
||||
|
||||
#include "operators/operator.h"
|
||||
|
||||
@ -29,7 +30,9 @@ class ValidateByteRange : public Operator {
|
||||
public:
|
||||
/** @ingroup ModSecurity_Operator */
|
||||
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 { }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user