diff options
author | Stanislav Malyshev <stas@php.net> | 2016-09-25 19:53:59 -0700 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-10-12 17:51:15 +0200 |
commit | f42cbd749cde1f91274c1d03df9024baba141a8f (patch) | |
tree | f1e6c542b4c4b1799581a60c672db74dcc6d1436 /Zend/zend_API.h | |
parent | efc1f33b58b0936539ea6ca1de345bd83c7e8f26 (diff) | |
download | php-git-f42cbd749cde1f91274c1d03df9024baba141a8f.tar.gz |
Fix bug #73147: Use After Free in PHP7 unserialize()
(cherry picked from commit 0e6fe3a4c96be2d3e88389a5776f878021b4c59f)
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r-- | Zend/zend_API.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h index 7fd7756674..15d24edfbf 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -343,6 +343,7 @@ ZEND_API void zend_update_property_double(zend_class_entry *scope, zval *object, ZEND_API void zend_update_property_str(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_string *value); ZEND_API void zend_update_property_string(zend_class_entry *scope, zval *object, const char *name, size_t name_length, const char *value); ZEND_API void zend_update_property_stringl(zend_class_entry *scope, zval *object, const char *name, size_t name_length, const char *value, size_t value_length); +ZEND_API void zend_unset_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length); ZEND_API int zend_update_static_property(zend_class_entry *scope, const char *name, size_t name_length, zval *value); ZEND_API int zend_update_static_property_null(zend_class_entry *scope, const char *name, size_t name_length); |