History log of /PHP-8.1/ext/opcache/tests/parent_type_not_interned.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# fe9f4298 09-Apr-2021 Nikita Popov

Fix class map ptr for parent type if interning disabled

As zend_update_parent_ce() only runs later, the parent reference
may still point to the original class entry rather than the
p

Fix class map ptr for parent type if interning disabled

As zend_update_parent_ce() only runs later, the parent reference
may still point to the original class entry rather than the
persisted one. Memory held by the original class entry may have
already been deallocated. Avoid use-after-free by explicitly
fetching the persisted parent CE.

show more ...