[php-src] PR #16401: Fix GH-16397: Segmentation fault when comparing FFI object
| From: | nielsdos | Date: | Sat, 12 Oct 2024 20:20:18 +0000 |
| Subject: | [php-src] PR #16401: Fix GH-16397: Segmentation fault when comparing FFI object | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-29193@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16401
Author: nielsdos
compare is a required handler [1], but this handler was set to NULL. Throw an exception
when trying to compare FFI objects.
[1] https://github.com/php/php-src/blob/35c8a010c6633a2a1ba7c16a0cf83affa07b819e/Zend/zend_object_handlers.h#L231C1-L231C64