mirror of
https://github.com/php/php-src.git
synced 2026-04-21 15:08:16 +02:00
b71c6b2c6c
Upon resizing, the elements are destroyed from lower index to higher index. When an element refers to an object with a destructor, it can refer to a lower (i.e. already destroyed) element, causing a uaf. Set refcounted zvals to NULL after destroying them to avoid a uaf. Closes GH-11959.
27 KiB
27 KiB