r2788 - trunk/varnish-cache/bin/varnishtest
tfheen at projects.linpro.no
tfheen at projects.linpro.no
Tue Jun 24 12:53:57 CEST 2008
Author: tfheen
Date: 2008-06-24 12:53:56 +0200 (Tue, 24 Jun 2008)
New Revision: 2788
Modified:
trunk/varnish-cache/bin/varnishtest/vtc.c
Log:
Fix segfault when reset_cmds is called for cmd_shell
Modified: trunk/varnish-cache/bin/varnishtest/vtc.c
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc.c 2008-06-24 10:35:15 UTC (rev 2787)
+++ trunk/varnish-cache/bin/varnishtest/vtc.c 2008-06-24 10:53:56 UTC (rev 2788)
@@ -220,6 +220,8 @@
(void)priv;
(void)cmd;
+ if (av == NULL)
+ return;
AN(av[1]);
AZ(av[2]);
vtc_dump(vl, 4, "shell", av[1]);
More information about the varnish-commit
mailing list