]> err.no Git - varnish/commitdiff
Request is bogus if df_m, df_Uq or df_H are NULL (Coverity CID#2, CID#3)
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 17 Feb 2008 08:53:01 +0000 (08:53 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 17 Feb 2008 08:53:01 +0000 (08:53 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2492 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishreplay/varnishreplay.c

index 043de39c4eee6976a9f374c25b4aa5e12ea0996e..a36eef73065f2884f900f2dde90710e74c3fbbbf 100644 (file)
@@ -521,6 +521,9 @@ replay_thread(void *arg)
                if (tag != SLT_ReqEnd)
                        continue;
 
+               if (!df_m || !df_Uq || !df_H)
+                       bogus = 1;
+
                if (bogus) {
                        thread_log(1, "bogus\n");
                } else {