mirror of
https://github.com/php/php-src.git
synced 2026-04-21 15:08:16 +02:00
b053192a03
offsetSet did not account for the fact that the array may no longer exist after the field is overwritten. This fixes that. Add test of resizing both to the empty array and a smaller array - there should be no valgrind warnings with a proper fix. Alternate approach to #7486 (described in https://bugs.php.net/bug.php?id=81429)
29 KiB
29 KiB