From 7bc94e075140feefb705c92e55c53eff1fb5ccbf Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 20 Sep 2005 06:00:41 +0000 Subject: [PATCH] Fixed access to uninitialized value --- ext/dom/php_dom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/dom/php_dom.c b/ext/dom/php_dom.c index 62d6d5332c1..f705a70ebbb 100644 --- a/ext/dom/php_dom.c +++ b/ext/dom/php_dom.c @@ -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); }