[master] e0810f2 Check get_bytes return

Guillaume Quintard guillaume at varnish-software.com
Thu Sep 8 12:22:12 CEST 2016


commit e0810f250b9c4344eda16105b2c9a537ac440798
Author: Guillaume Quintard <guillaume at varnish-software.com>
Date:   Thu Sep 8 12:13:13 2016 +0200

    Check get_bytes return

diff --git a/bin/varnishtest/vtc_http2.c b/bin/varnishtest/vtc_http2.c
index c7ca7ee..962eccd 100644
--- a/bin/varnishtest/vtc_http2.c
+++ b/bin/varnishtest/vtc_http2.c
@@ -739,7 +739,7 @@ receive_frame(void *priv)
 			f->data = malloc(f->size + 1L);
 			AN(f->data);
 			f->data[f->size] = '\0';
-			get_bytes(hp, f->data, f->size);
+			AN(get_bytes(hp, f->data, f->size));
 		}
 
 		/* is the corresponding stream waiting? */



More information about the varnish-commit mailing list