Browse Source

Fixed invalid read in ext/pdo/tests/pdo_025.phpt(pgsql)

pull/686/head
Xinchen Hui 12 years ago
parent
commit
d85e39cf4a
  1. 2
      Zend/zend_objects_API.c

2
Zend/zend_objects_API.c

@ -79,7 +79,7 @@ ZEND_API void zend_objects_store_free_object_storage(zend_objects_store *objects
zend_uint i;
/* Free object properties but don't free object their selves */
for (i = 1; i < objects->top ; i++) {
for (i = objects->top - 1; i > 0 ; i--) {
zend_object *obj = objects->object_buckets[i];
if (IS_OBJ_VALID(obj)) {

Loading…
Cancel
Save