mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Also protects this one
This commit is contained in:
parent
2b494ecc9c
commit
c2de445f79
@ -1316,7 +1316,7 @@ ZEND_API ZEND_COLD void zend_throw_error(zend_class_entry *exception_ce, const c
|
||||
if (EG(current_execute_data) && !CG(in_compilation)) {
|
||||
zend_throw_exception(exception_ce, message, 0);
|
||||
} else {
|
||||
zend_error(E_ERROR, message);
|
||||
zend_error(E_ERROR, "%s", message);
|
||||
}
|
||||
|
||||
efree(message);
|
||||
|
Loading…
Reference in New Issue
Block a user