Skip to content

Commit 4e5fca5

Browse files
committed
Fix dynamic property case added in unserializer
1 parent 1e06e3b commit 4e5fca5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ext/standard/var_unserializer.re

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,7 @@ declared_property:
654654
}
655655
}
656656

657+
GC_DEL_FLAGS(Z_OBJ_P(rval), GC_NOT_COLLECTABLE);
657658
data = zend_hash_add_new(ht, Z_STR(key), &EG(uninitialized_zval));
658659
} else if (ret < 0) {
659660
goto failure;

0 commit comments

Comments
 (0)