History log of /PHP-8.1/ext/exif/tests/gh10834.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 7b768485 24-Mar-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-10834: exif_read_data() cannot read smaller stream wrapper chunk sizes

php_stream_read() may return less than the requested amount of bytes by
design. This patch introduces a stat

Fix GH-10834: exif_read_data() cannot read smaller stream wrapper chunk sizes

php_stream_read() may return less than the requested amount of bytes by
design. This patch introduces a static function for exif which reads
from the stream in a loop until all the requested bytes are read.

For the test: Co-authored-by: dotpointer

Closes GH-10924.

show more ...