com php-src: Add missing zpp_none call in Exception: :__wakeup: Zend/zend_exceptions.c
| From: | Nikita Popov | Date: | Fri, 17 Jul 2020 14:06:54 +0000 |
| Subject: | com php-src: Add missing zpp_none call in Exception: :__wakeup: Zend/zend_exceptions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-112216@lists.php.net to get a copy of this message | ||
Commit: f9ced0d4f7f78d65bab82678aa92602df0f9f20e
Author: Nikita Popov <nikita.ppv@gmail.com> Fri, 17 Jul 2020 16:04:55 +0200
Parents: 954244b3cb251c264a657ec5d39544f75a2c0cad
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f9ced0d4f7f78d65bab82678aa92602df0f9f20e
Log:
Add missing zpp_none call in Exception::__wakeup
Changed paths:
M Zend/zend_exceptions.c
Diff:
diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c
index 24bfa9e41a..753bcd4b4a 100644
--- a/Zend/zend_exceptions.c
+++ b/Zend/zend_exceptions.c
@@ -316,6 +316,8 @@ ZEND_METHOD(Exception, __construct)
ZEND_METHOD(Exception, __wakeup)
{
+ ZEND_PARSE_PARAMETERS_NONE();
+
zval value, *pvalue;
zval *object = ZEND_THIS;
CHECK_EXC_TYPE(ZEND_STR_MESSAGE, IS_STRING);