Also protects this one

This commit is contained in:
Xinchen Hui 2015-11-12 14:51:19 +08:00
parent 2b494ecc9c
commit c2de445f79

View File

@ -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);