[php-src] PR #23933: ext/ffi: Guard callback destruction when the handler is NULL

From: Date: Sat, 26 Sep 2026 22:17:35 +0000
Subject: [php-src] PR #23933: ext/ffi: Guard callback destruction when the handler is NULL
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-38844@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/23933 Author: iliaal When a call bails out, zend_release_fcall_info_cache() clears function_handler. The FFI callback destructor read fn_flags through that NULL pointer for a callback created through __call(). It now skips the closure release when the handler is gone.

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