r2030 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Tue Sep 25 09:57:22 CEST 2007


Author: phk
Date: 2007-09-25 09:57:21 +0200 (Tue, 25 Sep 2007)
New Revision: 2030

Modified:
   trunk/varnish-cache/bin/varnishd/flint.lnt
Log:
New more paranoid settings for FlexeLint


Modified: trunk/varnish-cache/bin/varnishd/flint.lnt
===================================================================
--- trunk/varnish-cache/bin/varnishd/flint.lnt	2007-09-25 07:57:06 UTC (rev 2029)
+++ trunk/varnish-cache/bin/varnishd/flint.lnt	2007-09-25 07:57:21 UTC (rev 2030)
@@ -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,7 +44,17 @@
 -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
 
+*/




More information about the varnish-commit mailing list