Skip to content

Commit

Permalink
chimera: fix SKIP flag issue
Browse files Browse the repository at this point in the history
fix github issue intel#360
  • Loading branch information
hongyang7 authored and markos committed Aug 29, 2022
1 parent 31afacc commit 4f27a70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chimera/ch_runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,10 @@ ch_error_t catchupPcre(struct HybridContext *hyctx, unsigned int id,
} else if (cbrv == CH_CALLBACK_SKIP_PATTERN) {
DEBUG_PRINTF("user callback told us to skip this pattern\n");
pd->scanStart = hyctx->length;
if (top_id == id) {
break;
}
continue;
}

if (top_id == id) {
Expand Down

0 comments on commit 4f27a70

Please sign in to comment.