diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2015-09-18 00:50:08 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2015-09-18 00:50:08 +0200 |
commit | 5b8981f12eae17aa965f6c14bf99d28ee934f3bc (patch) | |
tree | fafd755b4bd8bbcb08e9707302b5495a707602ae /sapi/phpdbg/phpdbg_cmd.c | |
parent | adcabcc125094dae8fe1b62dca267e3fa302907d (diff) | |
download | php-git-5b8981f12eae17aa965f6c14bf99d28ee934f3bc.tar.gz |
Add eventual escaping for phpdbg arguments
Diffstat (limited to 'sapi/phpdbg/phpdbg_cmd.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_cmd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg_cmd.c b/sapi/phpdbg/phpdbg_cmd.c index d2dc89b09c..d71ac4181c 100644 --- a/sapi/phpdbg/phpdbg_cmd.c +++ b/sapi/phpdbg/phpdbg_cmd.c @@ -729,8 +729,9 @@ PHPDBG_API int phpdbg_stack_execute(phpdbg_param_t *stack, zend_bool allow_async do { if (top->type == STACK_PARAM) { - if (phpdbg_internal_stack_execute(top, allow_async_unsafe) == FAILURE) { - return FAILURE; + int result; + if ((result = phpdbg_internal_stack_execute(top, allow_async_unsafe)) != SUCCESS) { + return result; } } } while ((top = top->next)); |