chimera: fix SKIP flag issue

fix github issue #360
This commit is contained in:
Hong, Yang A 2022-07-28 04:59:34 +00:00 committed by Konstantinos Margaritis
parent 31afacc7be
commit 4f27a70dd7

View File

@ -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) {