From ed714c2f9dce6c78a2a936c7b8a059346908b69a Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 25 Sep 2007 07:57:21 +0000 Subject: [PATCH] New more paranoid settings for FlexeLint git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2030 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/flint.lnt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/varnish-cache/bin/varnishd/flint.lnt b/varnish-cache/bin/varnishd/flint.lnt index ba2bcc5b..b51864f9 100644 --- a/varnish-cache/bin/varnishd/flint.lnt +++ b/varnish-cache/bin/varnishd/flint.lnt @@ -17,6 +17,7 @@ -sem(lbv_assert, r_no) -sem(lbv_xxxassert, r_no) -sem(WS_Init, custodial(2)) +-sem(http_Setup, custodial(2)) -ffc // No automatic custody @@ -33,6 +34,8 @@ -emacro((826), TAILQ_LAST) // Suspicious pointer-to-pointer conversion (area too small) +-esym(534, sprintf) // Ignoring return value of function +-esym(534, asprintf) // Ignoring return value of function -esym(534, printf) // Ignoring return value of function -esym(534, fprintf) // Ignoring return value of function -esym(534, memset) // Ignoring return value of function @@ -41,6 +44,16 @@ -esym(534, strcpy) // Ignoring return value of function -esym(534, vsb_printf) // Ignoring return value of function -esym(534, vsb_cat) // Ignoring return value of function +-esym(534, vsb_bcat) // Ignoring return value of function +-esym(534, vsb_putc) // Ignoring return value of function +-esym(534, strcat) // Ignoring return value of function +-esym(534, strcpy) // Ignoring return value of function +-esym(534, strlcpy) // Ignoring return value of function + +-emacro(506, isnan) // constant value boolean +-emacro(747, isnan) // significant coersion +-emacro(506, assert) // constant value boolean +-emacro(774, HTTPH) // always false // cache.h -emacro(506, INCOMPL) // Constant value Boolean @@ -57,6 +70,8 @@ // Review all below this line /////////////////////////////////////////////// +/* + -e767 // Macro redef (system queue.h vs ours ) -e574 // Signed-unsigned mix with relational @@ -71,3 +86,4 @@ -e732 // Loss of sign (arg. no. 2) (int to unsigned -e737 // [45] Loss of sign in promotion from int to unsigned +*/ -- 2.39.5