From c3378ec5285da5108bab490c76f3d49d7fd899d2 Mon Sep 17 00:00:00 2001 From: Felipe Zimmerle Date: Thu, 1 Sep 2016 00:39:54 -0300 Subject: [PATCH] Fix the size of the rules and actions vectors --- headers/modsecurity/rules_properties.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headers/modsecurity/rules_properties.h b/headers/modsecurity/rules_properties.h index 89a95ad8..4743db0f 100644 --- a/headers/modsecurity/rules_properties.h +++ b/headers/modsecurity/rules_properties.h @@ -107,7 +107,7 @@ class RulesProperties { delete m_debugLog; } - std::vector rules[7]; + std::vector rules[8]; std::vector * getRulesForPhase(int phase) { if (phase > 7) { return NULL; @@ -116,7 +116,7 @@ class RulesProperties { } // ModSecurity::Phases::NUMBER_OF_PHASES - std::vector defaultActions[7]; + std::vector defaultActions[8]; // ModSecurity::Phases::NUMBER_OF_PHASES /**