com php-src: Also protects this one: Zend/zend.c

From: Date: Tue, 17 Nov 2015 12:08:39 +0000
Subject: com php-src: Also protects this one: Zend/zend.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-89927@lists.php.net to get a copy of this message
Commit: ed291d40d9dafc1d68a411810860597b263ee90d Author: Xinchen Hui <laruence@gmail.com> Thu, 12 Nov 2015 14:51:19 +0800 Committer: Anatol Belski <ab@php.net> Tue, 17 Nov 2015 13:08:39 +0100 Parents: 83bf7ec406dd96c3f4a9c34ba6c1ef96132ed9fa Branches: PHP-7.0.0 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ed291d40d9dafc1d68a411810860597b263ee90d Log: Also protects this one Changed paths: M Zend/zend.c Diff: diff --git a/Zend/zend.c b/Zend/zend.c index ab14372..ec520b8 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);

« previous php.cvs (#89927) next »