php-src/tests
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
..
basic Fix #80384: limit read buffer size 2020-12-23 13:49:56 +01:00
classes Return error_zval form get_property_ptr_ptr on exception 2019-10-10 15:14:04 +02:00
func Cleanup of remaining E_STRICT in tests 2019-07-23 11:27:23 +02:00
lang Make 045.phpt busy wait 2020-04-29 10:12:53 +02:00
output Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
run-test This test needs to log to stdout 2018-10-31 10:43:45 -07:00
security Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
strings Deprecate alternative array access syntax 2019-07-19 10:06:10 +02:00
quicktester.inc Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00