[6.2] 6d221929f Assert

Martin Blix Grydeland martin at varnish-software.com
Tue Feb 4 10:03:09 UTC 2020


commit 6d221929f761ea6e22e5384aee9981e513edae89
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Dec 16 12:16:17 2019 +0100

    Assert
    
    (cherry picked from commit 7da6220dfd86416200c43d84d40fce0cae1b5bae)

diff --git a/bin/varnishd/cache/cache_ws.c b/bin/varnishd/cache/cache_ws.c
index e98e2cc69..de04e896d 100644
--- a/bin/varnishd/cache/cache_ws.c
+++ b/bin/varnishd/cache/cache_ws.c
@@ -235,6 +235,7 @@ WS_ReserveAll(struct ws *ws)
 {
 	unsigned b;
 
+	WS_Assert(ws);
 	assert(ws->r == NULL);
 
 	ws->r = ws->e;


More information about the varnish-commit mailing list