mirror of
https://github.com/php/php-src.git
synced 2026-04-06 23:53:30 +02:00
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.