mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed invalid read in ext/pdo/tests/pdo_025.phpt(pgsql)
This commit is contained in:
parent
6859890091
commit
d85e39cf4a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue