Commit 62666fce authored by Tollef Fog Heen's avatar Tollef Fog Heen

Fix segfault when reset_cmds is called for cmd_shell

git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2788 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent c6e3bffb
......@@ -220,6 +220,8 @@ cmd_shell(CMD_ARGS)
(void)priv;
(void)cmd;
if (av == NULL)
return;
AN(av[1]);
AZ(av[2]);
vtc_dump(vl, 4, "shell", av[1]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment