From: Anoop Saldanha Date: Wed, 27 Mar 2013 12:27:55 +0000 (+0530) Subject: Handle the case of pcre combined with a relative content, where pcre has the X-Git-Tag: suricata-2.0beta1~192 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=71ffed5128dbbf493be89b71eca85d319b0b20f7;p=thirdparty%2Fsuricata.git 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. --- 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); }