mirror of
https://github.com/php/php-src.git
synced 2026-04-21 23:18:13 +02:00
7364b7bc0b
We need to remove the value from the GC buffer before freeing it. Otherwise shutdown will uaf when running the gc. Do that by switching from zend_hash_destroy to zend_array_destroy, which should also be faster for freeing members due to inlining of i_zval_ptr_dtor. Closes GH-11822
199 KiB
199 KiB