]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
lbr: set lastEscape on expand
authorAlex Coyte <a.coyte@intel.com>
Mon, 27 Feb 2017 05:46:24 +0000 (16:46 +1100)
committerMatthew Barr <matthew.barr@intel.com>
Wed, 1 Mar 2017 02:05:44 +0000 (13:05 +1100)
src/nfa/lbr.c

index 3075be3334bcfa96457eaf87478f510322880836..d403733a65c405c305d8648ed28f773cfd4995f8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015-2016, Intel Corporation
+ * Copyright (c) 2015-2017, Intel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -77,6 +77,7 @@ void lbrExpandState(const struct lbr_common *l, u64a offset,
 
     const struct RepeatInfo *info = getRepeatInfo(l);
     repeatUnpack(stream_state, info, offset, &lstate->ctrl);
+    lstate->lastEscape = 0;
 }
 
 static really_inline