mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
Fix the size of the rules and actions vectors
This commit is contained in:
parent
8d84ff6f4d
commit
c3378ec528
@ -107,7 +107,7 @@ class RulesProperties {
|
|||||||
delete m_debugLog;
|
delete m_debugLog;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<Rule *> rules[7];
|
std::vector<Rule *> rules[8];
|
||||||
std::vector<Rule *> * getRulesForPhase(int phase) {
|
std::vector<Rule *> * getRulesForPhase(int phase) {
|
||||||
if (phase > 7) {
|
if (phase > 7) {
|
||||||
return NULL;
|
return NULL;
|
||||||
@ -116,7 +116,7 @@ class RulesProperties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ModSecurity::Phases::NUMBER_OF_PHASES
|
// ModSecurity::Phases::NUMBER_OF_PHASES
|
||||||
std::vector<actions::Action *> defaultActions[7];
|
std::vector<actions::Action *> defaultActions[8];
|
||||||
// ModSecurity::Phases::NUMBER_OF_PHASES
|
// ModSecurity::Phases::NUMBER_OF_PHASES
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user