mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 19:47:47 +03:00
Fix assorted memory and static analysis errors
This commit is contained in:
committed by
Felipe Zimmerle
parent
8d0583eda4
commit
e95efa05cc
@@ -112,7 +112,7 @@ void XML::evaluate(Transaction *t,
|
||||
}
|
||||
/* Create one variable for each node in the result. */
|
||||
for (i = 0; i < nodes->nodeNr; i++) {
|
||||
char *content = NULL;
|
||||
char *content;
|
||||
content = reinterpret_cast<char *>(
|
||||
xmlNodeGetContent(nodes->nodeTab[i]));
|
||||
if (content != NULL) {
|
||||
|
Reference in New Issue
Block a user