History log of /php-src/Zend/tests/lazy_objects/oss_fuzz_71407.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 64081d13 11-Sep-2024 Arnaud Le Blanc

Lazy objects: Update class constants earlier

If a lazy object is created for a class whose constants can not be updated, then
we have created an instance of a non-instantiable class. Thi

Lazy objects: Update class constants earlier

If a lazy object is created for a class whose constants can not be updated, then
we have created an instance of a non-instantiable class. This breaks the
expectations of clone.

Here I ensure that a class has its constants updated before creating a lazy
instance of it.

Fixes OSS-Fuzz #71407
Closes GH-15856

show more ...