mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-09 17:54:37 +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
|
||||
-----------------------
|
||||
|
||||
@@ -646,7 +646,7 @@ static apr_status_t msre_action_ctl_execute(modsec_rec *msr, apr_pool_t *mptmp,
|
||||
if (*s != c) {
|
||||
*d++ = *s++;
|
||||
} else {
|
||||
(*s)++; /* parens quiet compiler warning */
|
||||
s++;
|
||||
}
|
||||
}
|
||||
*d = '\0';
|
||||
|
||||
Reference in New Issue
Block a user