]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
Limex: fix acceleration path analysis
authorWang Xiang W <xiang.w.wang@intel.com>
Wed, 18 Mar 2020 13:36:51 +0000 (09:36 -0400)
committerHong, Yang A <yang.a.hong@intel.com>
Mon, 25 May 2020 13:46:42 +0000 (13:46 +0000)
src/nfagraph/ng_limex_accel.cpp

index fa46a42cc83774e376c03ef0822b94bb92a6f0d5..f1f829f2c11245a518a20f6bad7f18ec847abd3a 100644 (file)
@@ -170,7 +170,7 @@ void findPaths(const NGHolder &g, NFAVertex v,
             /* path has looped back to one of the active+boring acceleration
              * states.  We can ignore this path if we have sufficient back-
              * off. */
-            paths->push_back({CharReach()});
+            paths->push_back({cr});
             continue;
         }