Fix a bug introduced in ctl:auditLogParts during compiler warning suppression that could corrupt AuditLogParts value.

This commit is contained in:
brectanus
2007-04-11 14:56:26 +00:00
parent 39e42199ce
commit 0e6f84868b
2 changed files with 6 additions and 1 deletions

View File

@@ -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
-----------------------

View File

@@ -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';