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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user