1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext
Ilija Tovilo e2da92b15c Fix ZipArchive callback being called after executor has shut down
free_obj() for objects referenced in the main symbol table may be called only
once the executor has already shut down. php_zip_cancel_callback() may attempt
to invoke a user callback, which will terminate the process because user code is
not expected to be executed at this point. We solve this by calling the callback
in dtor_obj(), which is called earlier in the shutdown sequence.

dtor_obj() will actually attempt to call it again if the object was
reinitialized in the destructor, so we also avoid calling the callback when the
executor has shut down in the first place. This should never matter in practice.

Closes GH-19602
2025-10-14 23:17:33 +02:00
..
2025-09-22 15:43:47 +02:00
2025-10-07 14:43:56 +02:00
2025-10-06 10:32:28 +02:00
2025-10-13 18:45:40 +02:00
2025-10-13 06:06:10 +01:00
2025-10-14 22:15:15 +02:00
2025-10-13 08:34:40 +02:00
2025-09-30 15:21:19 +02:00
2025-09-29 12:45:45 -03:00
2025-10-14 23:22:21 +03:00
2025-10-14 19:25:48 +02:00
2025-07-29 14:00:37 +02:00
2025-10-06 10:32:28 +02:00
2025-10-08 17:39:26 +02:00
2025-10-12 11:25:46 +02:00
2025-10-11 18:05:18 +02:00
2025-10-11 23:52:47 +02:00
2025-10-13 21:45:34 +02:00
2025-10-14 08:37:00 +02:00
2025-10-11 23:57:49 +02:00
2025-09-29 22:49:12 +01:00