[master] a83b79b Make sure we have no random pointer values.

Poul-Henning Kamp phk at FreeBSD.org
Tue Nov 1 12:46:04 CET 2016

commit a83b79b92c43aa954915877a93d8729ac55aaf51
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Nov 1 10:36:14 2016 +0000

    Make sure we have no random pointer values.

diff --git a/bin/varnishd/cache/cache_wrk.c b/bin/varnishd/cache/cache_wrk.c
index 33a556f..6c66d67 100644
--- a/bin/varnishd/cache/cache_wrk.c
+++ b/bin/varnishd/cache/cache_wrk.c
@@ -301,7 +301,7 @@ pool_kiss_of_death(struct worker *wrk, void *priv)
 static void
 Pool_Work_Thread(struct pool *pp, struct worker *wrk)
-	struct pool_task *tp;
+	struct pool_task *tp = NULL;
 	struct pool_task tpx, tps;
 	int i, prio_lim;

More information about the varnish-commit mailing list