From: Victor Julien Date: Fri, 11 Mar 2016 08:46:38 +0000 (+0100) Subject: coverity: suppress CID 1038112 X-Git-Tag: suricata-3.0.1RC1~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed93e9394d4ded1c34d19dc6beb2e1f5ef644a47;p=thirdparty%2Fsuricata.git coverity: suppress CID 1038112 --- diff --git a/src/detect-pktvar.c b/src/detect-pktvar.c index c841f69d35..075744e410 100644 --- a/src/detect-pktvar.c +++ b/src/detect-pktvar.c @@ -211,6 +211,8 @@ static int DetectPktvarSetup (DetectEngineCtx *de_ctx, Signature *s, char *rawst len = x; } + /* coverity[alloc_strlen : FALSE] + * not an actual string, but a byte array */ cd->content = SCMalloc(len); if (cd->content == NULL) { SCFree(cd);