1
0
mirror of https://github.com/php/php-src.git synced 2026-03-30 20:22:36 +02:00

Fix segfault in exceptions with xml

This commit is contained in:
Bob Weinand
2014-10-15 22:00:33 +02:00
parent b28e3d01d7
commit 22f1c8a062

View File

@@ -551,7 +551,7 @@ static inline void phpdbg_handle_exception(TSRMLS_D) /* }}} */
zend_call_function(&fci, NULL TSRMLS_CC);
if (trace) {
phpdbg_writeln("exception", "name=\"%s\" trace=\"%s\"", "Uncaught %s!\n%.*s", Z_OBJCE(exception)->name, Z_STRLEN_P(trace), Z_STRVAL_P(trace));
phpdbg_writeln("exception", "name=\"%s\" trace=\"%.*s\"", "Uncaught %s!\n%.*s", Z_OBJCE(exception)->name, Z_STRLEN_P(trace), Z_STRVAL_P(trace));
zval_ptr_dtor(&trace);
} else {