Adding back in a call to match pure rules when clearing signature

state.

Previous change had removed this, but I believe we still need it.
This commit is contained in:
Robin Sommer 2015-04-10 07:32:52 -07:00
parent a0bb139f22
commit 51aed48d67
3 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,5 @@
2.3-686 | 2015-04-09 15:22:28 -0700 2.3-687 | 2015-04-10 07:32:52 -0700
* Remove stale signature benchmarking code (-L command-line option). * Remove stale signature benchmarking code (-L command-line option).
(Jon Siwek) (Jon Siwek)

View file

@ -1 +1 @@
2.3-686 2.3-687

View file

@ -1097,6 +1097,8 @@ void RuleMatcher::ClearEndpointState(RuleEndpointState* state)
{ {
state->payload_size = -1; state->payload_size = -1;
ExecPureRules(state, 1);
loop_over_list(state->matchers, j) loop_over_list(state->matchers, j)
state->matchers[j]->state->Clear(); state->matchers[j]->state->Clear();
} }