1
0
mirror of https://github.com/php/php-src.git synced 2026-04-04 22:52:40 +02:00
Files
archived-php-src/main/streams
Adam Seitz 70dfbe0068 Fix #80384: limit read buffer size
In the case of a stream with no filters, php_stream_fill_read_buffer
only reads stream->chunk_size into the read buffer. If the stream has
filters attached, it could unnecessarily buffer a large amount of data.

With this change, php_stream_fill_read_buffer only proceeds until either
the requested size or stream->chunk_size is available in the read buffer.

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-6444.
2020-12-23 13:49:56 +01:00
..
2020-08-05 10:39:37 +02:00
2019-10-03 06:51:56 +02:00
2019-10-31 09:37:05 +01:00
2019-02-03 21:03:00 +01:00
2019-02-03 21:03:00 +01:00
2020-09-21 16:07:57 +02:00
2019-02-03 21:03:00 +01:00
2020-12-23 13:49:56 +01:00
2019-02-03 21:03:00 +01:00