1
0
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:
Dmitry Stogov
2005-09-20 06:00:41 +00:00
parent 55dd260d1f
commit 7bc94e0751

View File

@@ -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);
}