]> granicus.if.org Git - php/commitdiff
Fix segfault in ZTS mode when just printing and exiting in phpdbg
authorBob Weinand <bobwei9@hotmail.com>
Tue, 20 Dec 2016 18:48:59 +0000 (19:48 +0100)
committerBob Weinand <bobwei9@hotmail.com>
Tue, 20 Dec 2016 18:49:04 +0000 (19:49 +0100)
sapi/phpdbg/phpdbg.c

index 588294c2273d9e680f982679760c8f421fdbbbaa..4669c5d7e6960204df742ab97f68f5ceeb97738d 100644 (file)
@@ -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) /* {{{ */
 {