Browse Source

Fixed access to uninitialized value

migration/RELEASE_1_0_0
Dmitry Stogov 21 years ago
parent
commit
b45944a5b3
  1. 1
      ext/dom/php_dom.c

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

Loading…
Cancel
Save