From: Russ Combs (rucombs) Date: Thu, 29 Jun 2023 16:27:21 +0000 (+0000) Subject: Pull request #3893: regex: clear flags reused by module to construct ips option X-Git-Tag: 3.1.65.0~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecd88b4032453f851b8992c7cb8ac64f1f47239b;p=thirdparty%2Fsnort3.git Pull request #3893: regex: clear flags reused by module to construct ips option Merge in SNORT/snort3 from ~RUCOMBS/snort3:regex_fix to master Squashed commit of the following: commit d1e67464a0945bfaee8f0910cbef4142ff569337 Author: Russ Combs Date: Thu Jun 22 11:53:25 2023 -0400 regex: clear flags reused by module to construct ips option --- diff --git a/src/ips_options/ips_regex.cc b/src/ips_options/ips_regex.cc index 33ed60f99..b69d6b11d 100644 --- a/src/ips_options/ips_regex.cc +++ b/src/ips_options/ips_regex.cc @@ -61,6 +61,7 @@ struct RegexConfig re.clear(); db = nullptr; pcre_upgrade = false; + pmd.flags = pmd.mpse_flags = 0; } };