From 9374ba35c4fc9cd9dda3d2e7edfe3d690d4733d3 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Sat, 12 Dec 2015 18:45:11 -0800 Subject: [PATCH] Use format string --- Zend/zend_execute_API.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 9979aac256..fdffed34b2 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -218,7 +218,7 @@ static void zend_throw_or_error(int fetch_type, zend_class_entry *exception_ce, zend_vspprintf(&message, 0, format, va); if (fetch_type & ZEND_FETCH_CLASS_EXCEPTION) { - zend_throw_error(exception_ce, message); + zend_throw_error(exception_ce, "%s", message); } else { zend_error(E_ERROR, "%s", message); } -- 2.40.0