1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
archived-php-src/ext/standard
Niels Dossche a96b05e63f Fix GH-19300: Nested array_multisort invocation with error breaks
There are 2 issues:
1. When a MULTISORT_ABORT happens, it frees func, but func may point to
   ARRAYG(multisort_func), which would be a problem with nested
   invocations as it can destroy that of the "parent" invocation.
   To solve this, delay assigning to the globals.
2. The old globals were not restored which means that nested invocations
   with different flags will cause a wrong sorting function to be used.

Closes GH-19319.
2025-07-31 19:00:45 +02:00
..
2022-07-19 10:27:38 +01:00
2022-08-09 16:22:14 +02:00
2022-07-19 17:45:15 +02:00
2025-05-27 20:40:35 +02:00
2025-05-27 20:40:35 +02:00
2023-02-12 21:34:14 -07:00
2021-05-06 12:16:35 +02:00
2021-08-19 10:39:23 +02:00
2022-11-28 17:12:07 +01:00
2021-08-19 10:39:23 +02:00
2023-09-20 20:58:08 +02:00
2021-05-06 12:16:35 +02:00
2023-01-16 12:27:33 +01:00
2023-01-16 12:27:33 +01:00
2021-05-06 12:16:35 +02:00
2024-08-30 17:17:20 +01:00
2024-11-20 11:12:19 +01:00
2021-05-06 12:16:35 +02:00
2023-01-16 12:27:33 +01:00
2021-05-06 12:16:35 +02:00
2023-11-22 04:09:40 +00:00
2023-03-03 11:56:34 +01:00
2021-05-06 12:16:35 +02:00
2024-03-04 21:30:27 +09:00
2023-07-21 13:58:57 +02:00
2023-01-16 12:25:59 +01:00
2023-01-16 12:25:59 +01:00
2023-03-05 21:28:50 +01:00
2023-01-16 12:27:33 +01:00
2021-05-06 12:16:35 +02:00
2024-08-31 15:56:11 +09:00
2023-01-16 12:27:33 +01:00
2022-07-19 10:27:38 +01:00
2024-03-04 21:30:27 +09:00
2022-07-19 10:27:38 +01:00
2022-07-19 10:27:38 +01:00
2021-05-06 12:16:35 +02:00
2021-05-06 12:16:35 +02:00
2024-07-04 13:35:53 +02:00
2023-11-16 14:36:16 +00:00
2022-07-19 10:27:38 +01:00
2021-05-06 12:16:35 +02:00