From: Dmitry Stogov Date: Mon, 19 Sep 2005 18:47:36 +0000 (+0000) Subject: Fixed access to uninitialized value X-Git-Tag: RELEASE_0_9_0~174 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b45944a5b365a772a53734d7eda1bd2144390975;p=php Fixed access to uninitialized value --- diff --git a/ext/dom/php_dom.c b/ext/dom/php_dom.c index 172ff25426..a6ff59ad1e 100644 --- a/ext/dom/php_dom.c +++ b/ext/dom/php_dom.c @@ -273,6 +273,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); }