com php-src: Put stack_verify in error buffer too: phpdbg_cmd.c
| From: | Bob Weinand | Date: | Wed, 08 Oct 2014 21:44:22 +0000 |
| Subject: | com php-src: Put stack_verify in error buffer too: phpdbg_cmd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82596@lists.php.net to get a copy of this message | ||
Commit: 07bbe627426e06e0c665c6e6832268b5e70cb5ea
Author: Bob Weinand <bobwei9@hotmail.com> Wed, 8 Oct 2014 23:44:22 +0200
Parents: fa89d8b3f90db1ea7068d6771d51d370d1ccaf6c
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=07bbe627426e06e0c665c6e6832268b5e70cb5ea
Log:
Put stack_verify in error buffer too
Changed paths:
M phpdbg_cmd.c
Diff:
diff --git a/phpdbg_cmd.c b/phpdbg_cmd.c
index abb41e4..69f8eee 100644
--- a/phpdbg_cmd.c
+++ b/phpdbg_cmd.c
@@ -777,9 +777,9 @@ PHPDBG_API int phpdbg_stack_execute(phpdbg_param_t *stack, zend_bool allow_async
return FAILURE;
}
- phpdbg_activate_err_buf(0 TSRMLS_CC);
- phpdbg_free_err_buf(TSRMLS_C);
if (phpdbg_stack_verify(handler, &top TSRMLS_CC) == SUCCESS) {
+ phpdbg_activate_err_buf(0 TSRMLS_CC);
+ phpdbg_free_err_buf(TSRMLS_C);
return handler->handler(top TSRMLS_CC);
}
}