]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
Jenkins-1424: fixed error which misses report of logical combination under
authorChang, Harry <harry.chang@intel.com>
Wed, 31 Oct 2018 03:00:11 +0000 (11:00 +0800)
committerChang, Harry <harry.chang@intel.com>
Mon, 21 Jan 2019 01:56:21 +0000 (09:56 +0800)
vacuous input.

src/runtime.c

index 9fbb8e817b7535cef5025d63258b0596b92ae3cc..64a04fd7d3790cafb9b4a900766a36ef334b111f 100644 (file)
@@ -445,6 +445,7 @@ done_scan:
                                scratch);
     }
 
+set_retval:
     if (rose->flushCombProgramOffset) {
         if (roseRunFlushCombProgram(rose, scratch, ~0ULL) == MO_HALT_MATCHING) {
             unmarkScratchInUse(scratch);
@@ -452,7 +453,6 @@ done_scan:
         }
     }
 
-set_retval:
     DEBUG_PRINTF("done. told_to_stop_matching=%d\n",
                  told_to_stop_matching(scratch));
     hs_error_t rv = told_to_stop_matching(scratch) ? HS_SCAN_TERMINATED