[master] 2889a83 More Flexelinting

Poul-Henning Kamp phk at FreeBSD.org
Wed Sep 21 11:04:04 CEST 2016


commit 2889a83de6369ab7b7deafb2e7c6445dac8a4c8b
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Sep 21 09:03:18 2016 +0000

    More Flexelinting

diff --git a/bin/varnishd/http2/cache_http2_send.c b/bin/varnishd/http2/cache_http2_send.c
index 0baec27..7076cbb 100644
--- a/bin/varnishd/http2/cache_http2_send.c
+++ b/bin/varnishd/http2/cache_http2_send.c
@@ -116,6 +116,8 @@ H2_Send(struct worker *wrk, struct h2_req *r2, int flush,
 		retval = H2_Send_Frame(wrk, h2,
 		    type, flags, len, r2->stream, ptr);
 	} else if (type == H2_FRAME_DATA) {
+		AN(ptr);
+		AN(len);
 		p = ptr;
 		do {
 			tf = mfs;



More information about the varnish-commit mailing list