mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
Add comment to explain the behavior
This commit is contained in:
parent
e56d62960e
commit
8879413abf
@ -36,7 +36,7 @@ static void msc_xml_on_start_elementns(
|
||||
xml_parser_state->pathlen += (taglen + 1);
|
||||
char *newpath = apr_pstrcat(msr->mp, xml_parser_state->currpath, ".", (char *)localname, NULL);
|
||||
xml_parser_state->currpath = newpath;
|
||||
xml_parser_state->currpathbufflen += taglen + 1;
|
||||
xml_parser_state->currpathbufflen += taglen + 1; // +1 for the '.' character here too
|
||||
|
||||
int *new_stack_item = (int *)apr_array_push(xml_parser_state->has_child_stack);
|
||||
*new_stack_item = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user