[master] 19ab697 Missing assert
Poul-Henning Kamp
phk at FreeBSD.org
Thu Sep 14 21:16:05 UTC 2017
commit 19ab69739aa980e433ac6cb6dc8be45a000fc129
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu Sep 14 20:37:11 2017 +0000
Missing assert
diff --git a/bin/varnishd/mgt/mgt_param.c b/bin/varnishd/mgt/mgt_param.c
index bba58b3..dc25ea4 100644
--- a/bin/varnishd/mgt/mgt_param.c
+++ b/bin/varnishd/mgt/mgt_param.c
@@ -624,6 +624,7 @@ MCF_DumpRstParam(void)
t1 = strchr(p, '\t');
if (t1 != NULL && t1 < q) {
t2 = strchr(t1 + 1, '\t');
+ AN(t2);
printf("\n\t*");
(void)fwrite(t1 + 1, (t2 - 1) - t1, 1, stdout);
printf("*\n\t\t");
More information about the varnish-commit
mailing list