Niels Dossche
bc76b3fca9
Improve __unserialize() hardening for SplHeap/SplPriorityQueue
...
It was possible to make the heap accept unserialize data when the heap
was corrupted or under modification. This adds the necessary check to
prevent that from happening.
Also, the exception check at the bottom is pointless,
spl_heap_unserialize_internal_state() already returns FAILURE on
exception. If it *is* necessary, it should be documented why.
Closes GH-20109.
2025-10-11 23:52:37 +02:00
..
2025-10-11 23:52:37 +02:00
2024-07-29 10:08:17 +02:00
2024-06-08 23:46:34 +01:00
2024-02-18 11:39:00 +01:00
2025-08-09 11:23:14 +01:00
2024-06-08 17:15:36 +01:00
2022-07-21 15:05:34 +02:00
2024-08-24 12:36:54 +02:00
2025-09-04 22:12:24 +01:00
2025-07-03 21:50:45 +01:00
2023-10-07 13:14:57 +01:00
2025-07-14 17:31:22 -07:00
2025-08-08 22:14:07 +01:00
2024-09-13 15:07:26 +01:00
2025-05-20 16:20:59 -03:00
2024-09-03 23:19:53 +02:00
2025-02-26 22:57:31 +01:00
2024-06-15 01:33:09 +01:00
2023-10-07 13:14:57 +01:00
2024-09-03 23:19:53 +02:00
2024-06-15 01:33:09 +01:00
2024-06-15 01:33:09 +01:00
2025-07-21 13:33:51 -07:00
2025-03-31 19:39:32 +02:00
2025-03-30 18:09:11 +02:00
2024-06-26 00:26:43 +02:00
2024-06-15 01:33:09 +01:00
2025-09-22 09:43:09 +02:00
2025-10-11 23:52:37 +02:00
2024-06-15 01:33:09 +01:00
2025-09-22 09:43:09 +02:00
2024-10-12 11:42:34 +01:00
2025-09-05 08:10:48 +02:00
2024-06-15 01:33:09 +01:00
2024-10-12 11:42:34 +01:00
2025-08-09 11:36:14 +01:00
2025-08-09 11:36:14 +01:00
2024-06-15 01:33:09 +01:00
2025-08-09 11:36:14 +01:00