mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
![]() We destroy classes of dl()'ed modules in clean_module_classes(), during shutdown. Child classes of a module use structures of the parent class (such as inherited properties), which are destroyed earlier, so we have a use-after-free when destroying a child class. Here I destroy classes in reverse order, as it is done in zend_shutdown() for persistent classes. Fixes GH-17961 Fixes GH-15367 |
||
---|---|---|
.. | ||
tests | ||
config.m4 | ||
config.w32 | ||
dl_test.c | ||
dl_test.stub.php | ||
dl_test_arginfo.h | ||
php_dl_test.h |