com php-src: Fix segfault in ZTS mode when just printing and exiting in phpdbg: sapi/phpdbg/phpdbg.c

From: Date: Tue, 20 Dec 2016 18:49:04 +0000
Subject: com php-src: Fix segfault in ZTS mode when just printing and exiting in phpdbg: sapi/phpdbg/phpdbg.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-96389@lists.php.net to get a copy of this message
Commit: 3273f154120696c8054f61e8371a0c0af067fb36 Author: Bob Weinand <bobwei9@hotmail.com> Tue, 20 Dec 2016 19:48:59 +0100 Parents: 43cc3d7d9297328f6b63165a66d0a2d2e485023c Branches: PHP-7.1 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3273f154120696c8054f61e8371a0c0af067fb36 Log: Fix segfault in ZTS mode when just printing and exiting in phpdbg Changed paths: M sapi/phpdbg/phpdbg..c Diff: diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index 588294c..4669c5d 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -72,7 +72,7 @@ PHP_INI_END() static zend_bool phpdbg_booted = 0; static zend_bool phpdbg_fully_started = 0; -zend_bool use_mm_wrappers = 0; +zend_bool use_mm_wrappers = 1; static void php_phpdbg_destroy_bp_file(zval *brake) /* {{{ */ {

« previous php.cvs (#96389) next »