]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
pcre: fix missing quote in pcre unit test
authorJason Ish <ish@unx.ca>
Mon, 19 Sep 2016 16:45:05 +0000 (10:45 -0600)
committerVictor Julien <victor@inliniac.net>
Thu, 22 Sep 2016 11:36:27 +0000 (13:36 +0200)
src/detect-pcre.c

index ed8eb2300f1313ad734497c5abbfc6442fe20b5d..7b28f61853578fc9e48dc785fb9f8827be6c1e4d 100644 (file)
@@ -1721,7 +1721,7 @@ static int DetectPcreTestSig01(void)
 
     de_ctx->flags |= DE_QUIET;
 
-    de_ctx->sig_list = SigInit(de_ctx,"alert tcp any any -> any any (msg:\"HTTP TEST\"; pcre:\"/^gEt/i\"; pcre:\"/\\/two\\//U; pcre:\"/GET \\/two\\//\"; pcre:\"/\\s+HTTP/R\"; sid:1;)");
+    de_ctx->sig_list = SigInit(de_ctx,"alert tcp any any -> any any (msg:\"HTTP TEST\"; pcre:\"/^gEt/i\"; pcre:\"/\\/two\\//U\"; pcre:\"/GET \\/two\\//\"; pcre:\"/\\s+HTTP/R\"; sid:1;)");
     if (de_ctx->sig_list == NULL) {
         result = 0;
         goto end;