mirror of
https://github.com/php/php-src.git
synced 2026-03-27 09:42:22 +01:00
Fixed access to uninitialized value
This commit is contained in:
@@ -294,6 +294,7 @@ zval *dom_read_property(zval *object, zval *member, int type TSRMLS_DC)
|
||||
if (ret == SUCCESS) {
|
||||
/* ensure we're creating a temporary variable */
|
||||
retval->refcount = 0;
|
||||
retval->is_ref = 0;
|
||||
} else {
|
||||
retval = EG(uninitialized_zval_ptr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user