From 71ffed5128dbbf493be89b71eca85d319b0b20f7 Mon Sep 17 00:00:00 2001 From: Anoop Saldanha Date: Wed, 27 Mar 2013 17:57:55 +0530 Subject: [PATCH] Handle the case of pcre combined with a relative content, where pcre has the set to match from start of line and we discontinue matching on not finding match. --- src/detect-engine-content-inspection.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/detect-engine-content-inspection.c b/src/detect-engine-content-inspection.c index 24f1a78492..e19d052337 100644 --- a/src/detect-engine-content-inspection.c +++ b/src/detect-engine-content-inspection.c @@ -354,7 +354,6 @@ int DetectEngineContentInspection(DetectEngineCtx *de_ctx, DetectEngineThreadCtx r = DetectPcrePayloadMatch(det_ctx, s, sm, p, f, buffer, buffer_len); if (r == 0) { - det_ctx->discontinue_matching = 1; SCReturnInt(0); }