History log of /PHP-8.2/ext/ffi/tests/gh16397.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# ec8a24f7 14-Oct-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-16397: Segmentation fault when comparing FFI object (#16401)

`compare` is a required handler [1], but this handler was set to NULL.
Throw an exception when trying to compare FFI o

Fix GH-16397: Segmentation fault when comparing FFI object (#16401)

`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

Closes GH-16401.

show more ...