From: Jason Ish Date: Mon, 19 Sep 2016 16:45:05 +0000 (-0600) Subject: pcre: fix missing quote in pcre unit test X-Git-Tag: suricata-3.2beta1~325 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cdcada397aa4fe2d3d3a37f1268c409205b2134;p=thirdparty%2Fsuricata.git pcre: fix missing quote in pcre unit test --- diff --git a/src/detect-pcre.c b/src/detect-pcre.c index ed8eb2300f..7b28f61853 100644 --- a/src/detect-pcre.c +++ b/src/detect-pcre.c @@ -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;