Skip to content

Commit

Permalink
Fixed bug #34978 (php out of memory or segmentation fault while insta…
Browse files Browse the repository at this point in the history
…lling sugarcrm 3.5.1a)
  • Loading branch information
dstogov committed Nov 2, 2005
1 parent c58f17c commit 525d33e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NEWS
Expand Up @@ -8,6 +8,8 @@ PHP NEWS
zero). (Tony)
- Fixed bug #34982 (array_walk_recursive() modifies elements outside function
scope). (Dmitry)
- Fixed bug #34978 (php out of memory or segmentation fault while installing
sugarcrm 3.5.1a). (Dmitry)
- Fixed bug #34977 (Compile failure on MacOSX due to use of varargs.h). (Tony)
- Fixed bug #34950 (Unable to get WSDL through proxy). (Dmitry)
- Fixed bug #34938 (dns_get_record() doesn't resolve long hostnames and
Expand Down
7 changes: 7 additions & 0 deletions Zend/zend_execute_API.c
Expand Up @@ -397,6 +397,13 @@ ZEND_API void _zval_ptr_dtor(zval **zval_ptr ZEND_FILE_LINE_DC)
zval_dtor(zv);
safe_free_zval_ptr_rel(zv ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_CC);
} else if (zv->refcount == 1) {
if ((*zval_ptr)->type == IS_OBJECT) {
TSRMLS_FETCH();

if (EG(ze1_compatibility_mode)) {
return;
}
}
zv->is_ref = 0;
}
}
Expand Down

0 comments on commit 525d33e

Please sign in to comment.