History log of /PHP-8.1/ext/standard/tests/image/bug79877.phpt (Results 1 – 6 of 6)
Revision Date Author Comments
# 25f1c405 25-Sep-2020 Nikita Popov

Update ext/standard parameter names

Closes GH-6214.


# 7e339a33 08-Sep-2020 Nikita Popov

Make null byte error a ValueError

Currently we treat paths with null bytes as a TypeError, which is
incorrect, and rather inconsistent, as we treat empty paths as
ValueError. We do t

Make null byte error a ValueError

Currently we treat paths with null bytes as a TypeError, which is
incorrect, and rather inconsistent, as we treat empty paths as
ValueError. We do this because the error is generated by zpp and
it's easier to always throw TypeError there.

This changes the zpp implementation to throw a TypeError only if
the type is actually wrong and throw ValueError for null bytes.
The error message is also split accordingly, to be more precise.

Closes GH-6094.

show more ...


# b9171d8a 03-Aug-2020 Christoph M. Becker

Fix fix for bug #79877 for PHP 8

PHP 8 is supposed to throw here.


# 05c5c937 21-Jul-2020 Christoph M. Becker

Fix #79877: getimagesize function silently truncates after a null byte

We have to check for NUL bytes if `getimagesize()` has been called.


# 4d2560dd 21-Jul-2020 Christoph M. Becker

Fix #79877: getimagesize function silently truncates after a null byte

We have to check for NUL bytes if `getimagesize()` has been called.


# ff577b04 21-Jul-2020 Christoph M. Becker

Fix #79877: getimagesize function silently truncates after a null byte

We have to check for NUL bytes if `getimagesize()` has been called.