Niels Dossche
b71c6b2c6c
Fix #81992 : SplFixedArray::setSize() causes use-after-free
...
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.
2023-08-14 21:32:22 +02:00
..
2023-08-14 21:32:22 +02:00
2021-06-18 15:22:52 +01:00
2021-06-18 15:22:52 +01:00
2018-08-28 23:26:49 +02:00
2021-08-30 13:50:34 +02:00
2022-12-02 12:47:25 +00:00
2021-05-26 09:36:23 +02:00
2021-08-30 13:50:34 +02:00
2021-07-15 11:03:50 +02:00
2023-05-03 19:42:04 +02:00
2021-05-06 12:16:35 +02:00
2021-07-15 11:03:50 +02:00
2022-11-22 12:21:14 +00:00
2023-05-30 17:29:18 +02:00
2021-05-07 11:23:05 +02:00
2022-11-22 12:21:14 +00:00
2021-07-14 15:19:51 +02:00
2021-11-24 14:55:11 +01:00
2021-05-06 12:16:35 +02:00
2021-07-14 15:19:51 +02:00
2021-06-18 15:22:52 +01:00
2021-02-18 13:01:51 +01:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-02-18 13:01:51 +01:00
2021-07-14 15:19:51 +02:00
2023-08-14 21:32:22 +02:00
2021-05-06 12:16:35 +02:00
2021-07-14 15:19:51 +02:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2021-07-14 15:19:51 +02:00
2021-07-22 09:44:19 +02:00
2021-05-06 12:16:35 +02:00
2021-07-14 15:19:51 +02:00
2021-07-22 09:40:16 +02:00
2023-04-20 10:18:18 +02:00
2021-06-09 10:15:36 +02:00
2021-07-20 01:00:10 +02:00
2021-12-28 18:01:26 +01:00
2021-11-04 10:38:08 +01:00
2021-05-06 12:16:35 +02:00
2021-12-28 18:01:26 +01:00