]> granicus.if.org Git - php/commit
Fix #78543: is_callable() on FFI\CData throws Exception
authorChristoph M. Becker <cmbecker69@gmx.de>
Wed, 18 Sep 2019 09:55:20 +0000 (11:55 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Thu, 19 Sep 2019 07:13:22 +0000 (09:13 +0200)
commit9dfbcd7248012ac651a48eb871bfa58bb9e6c5d7
tree1f7527174352bac7a8d0685d03a396406f9bc77a
parent38ae5224403499921b9a145255310f4a0f781d38
Fix #78543: is_callable() on FFI\CData throws Exception

If `Z_OBJ_HANDLER_P(callable, get_closure)` throws, we must not let the
exeception pass to userland, if called through `is_callable()`.
NEWS
Zend/zend_API.c
ext/ffi/tests/bug78543.phpt [new file with mode: 0644]