1
0
mirror of https://github.com/php/php-src.git synced 2026-04-11 18:13:00 +02:00
Files
archived-php-src/ext
Nikita Popov 18a0d46a1b Safely reassign array in usort()
Make sure to destroy the old value only after assigning the new
one. Otherwise we may try to double free, e.g. if GC runs during
this dtor.

This caused an assertion failure in phpro/grumphp and is likely
the cause for bug #81603 as well.

(cherry picked from commit 6f38acfaf9)

(I applied this to the wrong base branch at first...)
2021-11-16 10:15:47 +01:00
..
2021-07-16 15:54:24 +02:00
2021-11-14 23:28:13 -08:00
2020-08-31 09:32:55 +02:00
2021-05-03 15:19:57 +02:00
2020-10-15 10:16:56 +02:00
2020-02-03 13:41:31 +01:00
2020-10-09 15:24:53 +02:00
2020-07-28 10:27:22 +02:00
2021-10-08 15:00:10 +02:00
2021-10-08 15:00:10 +02:00
2021-02-02 16:46:16 +01:00
2021-04-27 22:22:32 +02:00
2021-08-16 15:04:17 +02:00
2021-10-21 13:33:35 +02:00
2020-10-28 12:18:02 +01:00
2019-09-09 14:24:26 +02:00
2021-10-07 20:10:45 +02:00
2021-08-23 23:43:51 -07:00
2020-11-02 11:39:42 +01:00
2021-08-12 12:02:05 +02:00
2021-11-16 10:15:47 +01:00
2020-01-30 13:06:25 +01:00
2020-10-30 15:47:18 +01:00
2021-04-26 12:09:31 +02:00
2020-02-03 13:41:31 +01:00