#
5a988d57 |
| 11-Jan-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix phar/tests/bug77432.phpt - For Windows we just have to set the right error_reporting value - Test cannot be used repeatedly on Opcache because the unlink will have no effect be
Fix phar/tests/bug77432.phpt - For Windows we just have to set the right error_reporting value - Test cannot be used repeatedly on Opcache because the unlink will have no effect because of caching. Closes GH-13129.
show more ...
|
#
1edcfccd |
| 30-Dec-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix #77432: Segmentation fault on including phar file phar_get_pharfp() can return NULL. In this case this is because the stream gets closed by the include code in the engine. However, t
Fix #77432: Segmentation fault on including phar file phar_get_pharfp() can return NULL. In this case this is because the stream gets closed by the include code in the engine. However, the phar entry is still cached, so when the next include happens the engine tries to read from a closed (and nullified) stream. Use the same fix as in phar_open_entry_fp(): take into account that the phar_get_pharfp() can return NULL and in that case reopen the phar archive. Closes GH-13056.
show more ...
|