]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
Handle the case of pcre combined with a relative content, where pcre has the
authorAnoop Saldanha <anoopsaldanha@gmail.com>
Wed, 27 Mar 2013 12:27:55 +0000 (17:57 +0530)
committerVictor Julien <victor@inliniac.net>
Thu, 28 Mar 2013 08:56:47 +0000 (09:56 +0100)
set to match from start of line and we discontinue matching on not finding
match.

src/detect-engine-content-inspection.c

index 24f1a78492ca27c17c0fc3217d6a6d6a6192aafa..e19d052337baf12df49c5cbb0c0b7d5229c58961 100644 (file)
@@ -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);
             }