From: Dmitry Stogov Date: Mon, 19 Sep 2005 18:47:56 +0000 (+0000) Subject: Fixed access to uninitialized value X-Git-Tag: php-5.1.0RC2~223 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5eb6b78c90eb2ec58b3578bb51e90e946835691f;p=php Fixed access to uninitialized value --- diff --git a/ext/dom/php_dom.c b/ext/dom/php_dom.c index 22c07dce37..c972736d6f 100644 --- a/ext/dom/php_dom.c +++ b/ext/dom/php_dom.c @@ -295,6 +295,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); }