From: Xinchen Hui Date: Thu, 12 Nov 2015 06:51:19 +0000 (+0800) Subject: Also protects this one X-Git-Tag: php-7.0.1RC1~91 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2de445f79eb0be77d8b9eb349aab2a8e306d45c;p=php Also protects this one --- diff --git a/Zend/zend.c b/Zend/zend.c index ab14372f6b..ec520b8b0b 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -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);