mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-10 02:04:36 +03:00
Fix a bug introduced in ctl:auditLogParts during compiler warning suppression that could corrupt AuditLogParts value.
This commit is contained in:
5
CHANGES
5
CHANGES
@@ -1,3 +1,8 @@
|
|||||||
|
11 Apr 2007 - 2.1.1
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
* Fix potential corruption of AuditLogParts when ctl:auditLogParts used.
|
||||||
|
|
||||||
|
|
||||||
05 Apr 2007 - 2.1.1-rc2
|
05 Apr 2007 - 2.1.1-rc2
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|||||||
@@ -646,7 +646,7 @@ static apr_status_t msre_action_ctl_execute(modsec_rec *msr, apr_pool_t *mptmp,
|
|||||||
if (*s != c) {
|
if (*s != c) {
|
||||||
*d++ = *s++;
|
*d++ = *s++;
|
||||||
} else {
|
} else {
|
||||||
(*s)++; /* parens quiet compiler warning */
|
s++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*d = '\0';
|
*d = '\0';
|
||||||
|
|||||||
Reference in New Issue
Block a user