From: Chang, Harry Date: Wed, 31 Oct 2018 03:00:11 +0000 (+0800) Subject: Jenkins-1424: fixed error which misses report of logical combination under X-Git-Tag: v5.1.0^2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acffc9d36c4f6eccff22dc3eeb2e7ec122d0ae58;p=thirdparty%2Fvectorscan.git Jenkins-1424: fixed error which misses report of logical combination under vacuous input. --- diff --git a/src/runtime.c b/src/runtime.c index 9fbb8e81..64a04fd7 100644 --- a/src/runtime.c +++ b/src/runtime.c @@ -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