summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2015-11-12 14:51:19 +0800
committerAnatol Belski <ab@php.net>2015-11-17 13:08:39 +0100
commited291d40d9dafc1d68a411810860597b263ee90d (patch)
treefb285c50ef769864b8017a6ea5c74b8c5cc9f59f
parent83bf7ec406dd96c3f4a9c34ba6c1ef96132ed9fa (diff)
downloadphp-git-ed291d40d9dafc1d68a411810860597b263ee90d.tar.gz
Also protects this one
-rw-r--r--Zend/zend.c2
1 files changed, 1 insertions, 1 deletions
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);