[master] d5d39f95b Add an assert
    Poul-Henning Kamp 
    phk at FreeBSD.org
       
    Mon Apr 29 21:31:12 UTC 2019
    
    
  
commit d5d39f95b4c7a5e21927bb75f6ee442b22bd09cb
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Apr 29 10:31:57 2019 +0000
    Add an assert
diff --git a/bin/varnishtest/vtc_http2.c b/bin/varnishtest/vtc_http2.c
index f49f955dc..9b1b27632 100644
--- a/bin/varnishtest/vtc_http2.c
+++ b/bin/varnishtest/vtc_http2.c
@@ -1518,6 +1518,7 @@ cmd_tx11obj(CMD_ARGS)
 			if (AV_IS("-body")) {
 				AZ(body);
 				REPLACE(body, av[1]);
+				AN(body);
 				bodylen = strlen(body);
 				f.flags &= ~END_STREAM;
 				av++;
    
    
More information about the varnish-commit
mailing list