[php-src] PR #23914: Fix GH-23899: Handle bailout from ZipArchive cancel callback return v…

From: Date: Fri, 25 Sep 2026 18:26:55 +0000
Subject: [php-src] PR #23914: Fix GH-23899: Handle bailout from ZipArchive cancel callback return v…
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-38817@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/23914 Author: LamentXU123 …alidation Now, PHP 8.6 moved archive closing from free_obj to dtor_obj as a result that callbacks can run before the executor shuts down.If a cancel callback returns an invalid type during shutdown, it can cause assertion error. Well PHP 8.5 closes the archive in free_obj, which is already marked as called so it does not have this double-release path. Here, we just catch the bailout from return-type validation using the existing bailout_callback mechanism

« previous php.git-pulls (#38817) next »