History log of /PHP-8.2/ext/phar/tests/bug77432.phpt (Results 1 – 5 of 5)
Revision Date Author Comments
# 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 ...


# 0d2c83ef 01-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Skip on Windows


# 7677df4c 01-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix test not emitting warning because of Windows paths


# c86f0530 01-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix test on Windows


# 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 ...