From: Victor Julien Date: Fri, 11 Mar 2016 06:07:07 +0000 (+0100) Subject: base64_decode: fix potential keyword parsing issue (CID 1340064) X-Git-Tag: suricata-3.0.1RC1~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c858bfea4a2e2cdd3d8d38b3223056d73afaf249;p=thirdparty%2Fsuricata.git base64_decode: fix potential keyword parsing issue (CID 1340064) --- diff --git a/src/detect-base64-decode.c b/src/detect-base64-decode.c index bd9baea583..e06e6f870c 100644 --- a/src/detect-base64-decode.c +++ b/src/detect-base64-decode.c @@ -310,6 +310,9 @@ static int DetectBase64DecodeSetup(DetectEngineCtx *de_ctx, Signature *s, } else { sm_list = SigMatchListSMBelongsTo(s, pm); + if (sm_list < 0) { + goto error; + } } }