From d3293916eda441108643903996f224bfc4844797 Mon Sep 17 00:00:00 2001 From: b1v1r Date: Tue, 31 Aug 2010 19:18:57 +0000 Subject: [PATCH] Change scope of state var so multiMatch works once again. --- apache2/re.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache2/re.c b/apache2/re.c index 1b67453f..2368ebaf 100644 --- a/apache2/re.c +++ b/apache2/re.c @@ -2049,6 +2049,7 @@ static apr_status_t msre_rule_process_normal(msre_rule *rule, modsec_rec *msr) { apr_table_t *normtab; const char *lastvarval = NULL; apr_size_t lastvarlen = 0; + int tfnchanged = 0; changed = 0; normtab = apr_table_make(mptmp, 10); @@ -2191,7 +2192,6 @@ static apr_status_t msre_rule_process_normal(msre_rule *rule, modsec_rec *msr) { for (; k < tarr->nelts; k++) { char *rval = NULL; long int rval_length = -1; - int tfnchanged = 0; /* In multi-match mode we execute the operator * once at the beginning and then once every