From 81294a4abccc3ec86617b02a347c0bfa5037af52 Mon Sep 17 00:00:00 2001 From: des Date: Sun, 17 Feb 2008 08:53:01 +0000 Subject: [PATCH] Request is bogus if df_m, df_Uq or df_H are NULL (Coverity CID#2, CID#3) git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2492 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishreplay/varnishreplay.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/varnish-cache/bin/varnishreplay/varnishreplay.c b/varnish-cache/bin/varnishreplay/varnishreplay.c index 043de39c..a36eef73 100644 --- a/varnish-cache/bin/varnishreplay/varnishreplay.c +++ b/varnish-cache/bin/varnishreplay/varnishreplay.c @@ -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 { -- 2.39.5