diff options
author | Joshua Rogers <git@internot.info> | 2015-01-21 06:14:56 +1100 |
---|---|---|
committer | Joshua Rogers <git@internot.info> | 2015-01-21 06:52:19 +1100 |
commit | 662184095182b2b9c23313350d99beda25eb3c39 (patch) | |
tree | d1ad9f0910447672d36586d2b7ca284698ac99eb /ext/reflection/php_reflection.c | |
parent | b16fdebcf8f59e5aa09c11782c05224762ca835e (diff) | |
download | php-git-662184095182b2b9c23313350d99beda25eb3c39.tar.gz |
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 3f5c7a9062..1f5085cbf0 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -3978,6 +3978,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; |