]> granicus.if.org Git - php/commit
Fix #78650: new COM Crash
authorChristoph M. Becker <cmbecker69@gmx.de>
Wed, 9 Oct 2019 12:03:36 +0000 (14:03 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Wed, 9 Oct 2019 12:09:02 +0000 (14:09 +0200)
commit4625fa181fd5e1c9b3d8ef291c7003bf51a70512
tree17cc82993429a5c66cdbec42acc98427df399a24
parent8b5c351154284a88152ee3d166a32dc77316a658
Fix #78650: new COM Crash

As of PHP 7.4.0, the `get_property_ptr_ptr` handler is mandatory; we
implement it to always return `NULL`, which is equivalent to not
setting the handler in former versions.

We add a portable and faster test case than what has been presented in
the bug ticket.
NEWS
ext/com_dotnet/com_handlers.c
ext/com_dotnet/tests/bug78650.phpt [new file with mode: 0644]