From: krakjoe Date: Fri, 21 Feb 2014 19:37:16 +0000 (+0000) Subject: ... X-Git-Tag: php-5.6.0beta2~1^2~37^2~20^2~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bab960069c70693320aa32529f29230bb0c52277;p=php ... --- diff --git a/phpdbg_cmd.c b/phpdbg_cmd.c index 4d34be74a9..95e1642368 100644 --- a/phpdbg_cmd.c +++ b/phpdbg_cmd.c @@ -585,7 +585,7 @@ PHPDBG_API int phpdbg_stack_verify(const phpdbg_command_t *command, phpdbg_param return FAILURE; \ } - while (arg) { + while (arg && *arg) { current++; switch (*arg) {