mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
Fix: placed missing variable initialization
This commit is contained in:
parent
56cbbeff52
commit
16b8ef98fd
@ -64,7 +64,7 @@ std::string MacroExpansion::expand(const std::string& input,
|
||||
return res;
|
||||
}
|
||||
std::string variable(res, start + 2, end - (start + 2));
|
||||
std::string *variableValue;
|
||||
std::string *variableValue = NULL;
|
||||
size_t collection = variable.find(".");
|
||||
if (collection == std::string::npos) {
|
||||
variableValue = transaction->m_collections.resolveFirst(variable);
|
||||
|
Loading…
x
Reference in New Issue
Block a user