From 0e6f84868b27e3293064bba895eec83e3230d040 Mon Sep 17 00:00:00 2001 From: brectanus Date: Wed, 11 Apr 2007 14:56:26 +0000 Subject: [PATCH] Fix a bug introduced in ctl:auditLogParts during compiler warning suppression that could corrupt AuditLogParts value. --- CHANGES | 5 +++++ apache2/re_actions.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 27e93032..4b2db0cd 100644 --- a/CHANGES +++ b/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 ----------------------- diff --git a/apache2/re_actions.c b/apache2/re_actions.c index 58c47b5b..105547ed 100644 --- a/apache2/re_actions.c +++ b/apache2/re_actions.c @@ -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';