diff options
author | Stanislav Malyshev <stas@php.net> | 2015-01-31 23:52:10 -0800 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2015-01-31 23:52:10 -0800 |
commit | 911f0ea4178a82c1cf16f0296a9ac25378f5315e (patch) | |
tree | da41432aabd94c2ccd0e6d150335cd232bd745d4 /ext/reflection/php_reflection.c | |
parent | 50703c900f3b75af2e2973dfd53c05f69cddec91 (diff) | |
parent | 662184095182b2b9c23313350d99beda25eb3c39 (diff) | |
download | php-git-911f0ea4178a82c1cf16f0296a9ac25378f5315e.tar.gz |
Merge branch 'pull-request/1012'
* pull-request/1012:
Fix uninitalized variables reads. See CWE-457 for more info.
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 5dddd05cea..9f5ad8cdd4 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -3996,6 +3996,7 @@ static int _adddynproperty(zval *ptr, int num_args, va_list args, zend_hash_key if (zend_get_property_info(ce, hash_key->key, 1) == NULL) { zend_property_info property_info; + property_info.doc_comment = NULL; property_info.flags = ZEND_ACC_IMPLICIT_PUBLIC; property_info.name = hash_key->key; property_info.ce = ce; |