]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
discontinue matching on buffer if urilen returns a match failure. 389/head
authorAnoop Saldanha <anoopsaldanha@gmail.com>
Sat, 15 Jun 2013 05:52:16 +0000 (11:22 +0530)
committerAnoop Saldanha <anoopsaldanha@gmail.com>
Sat, 15 Jun 2013 05:52:16 +0000 (11:22 +0530)
src/detect-engine-content-inspection.c

index 525be2150820ac8b02bb673fb74ec96c5309f327..b3a680c0ea35e58b78c4531e6c808f067b4f238a 100644 (file)
@@ -519,6 +519,8 @@ int DetectEngineContentInspection(DetectEngineCtx *de_ctx, DetectEngineThreadCtx
             goto match;
         }
 
+        det_ctx->discontinue_matching = 0;
+
         SCReturnInt(0);
 #ifdef HAVE_LUAJIT
     }