]> granicus.if.org Git - php/commit
Fix infinite recursion in unlinked_instanceof
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 5 Jan 2021 12:02:30 +0000 (13:02 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 5 Jan 2021 12:03:41 +0000 (13:03 +0100)
commitdd335359e950e52dd5e679da05b5c1f4084e5869
tree9e444ef6f4f152722adbea28c6ea32e68ddff47a
parent5e57f37247d7b8f82a91ebce627853fc946f0a94
Fix infinite recursion in unlinked_instanceof

I suspect this is only a partial fix for the issue, it's probably
possible to recurse through a more complex pathway as well.

Fixes oss-fuzz #28961.
Zend/tests/type_declarations/variance/infinite_recursion.phpt [new file with mode: 0644]
Zend/zend_inheritance.c