php-src/main/streams
Konstantin Kopachev 05560b67bc
Fix #76859 stream_get_line skips data if used with data-generating filter
stream_get-line repeatedly calls php_stream_fill_read_buffer until
enough data is accumulated in buffer. However, when stream contains
filters attached to it, then each call to fill buffer essentially
resets buffer read/write pointers and new data is written over old.
This causes stream_get_line to skip parts of data from stream
This patch fixes such behavior, so fill buffer call will append.
2019-10-03 06:50:43 +02:00
..
cast.c year++ 2018-01-02 12:55:14 +08:00
filter.c Fix #76859 stream_get_line skips data if used with data-generating filter 2019-10-03 06:50:43 +02:00
glob_wrapper.c Fix bug #51068 (glob:// do not support current path relative) 2019-02-11 15:50:27 +01:00
memory.c year++ 2018-01-02 12:55:14 +08:00
mmap.c year++ 2018-01-02 12:55:14 +08:00
php_stream_context.h year++ 2018-01-02 12:55:14 +08:00
php_stream_filter_api.h year++ 2018-01-02 12:55:14 +08:00
php_stream_glob_wrapper.h year++ 2018-01-02 12:55:14 +08:00
php_stream_mmap.h year++ 2018-01-02 12:55:14 +08:00
php_stream_plain_wrapper.h year++ 2018-01-02 12:55:14 +08:00
php_stream_transport.h year++ 2018-01-02 12:55:14 +08:00
php_stream_userspace.h year++ 2018-01-02 12:55:14 +08:00
php_streams_int.h Sync leading and final newlines in source code files 2018-10-14 12:54:08 +02:00
plain_wrapper.c Fixed bug #69100 2019-07-17 15:58:29 +02:00
streams.c Fix #76859 stream_get_line skips data if used with data-generating filter 2019-10-03 06:50:43 +02:00
transports.c year++ 2018-01-02 12:55:14 +08:00
userspace.c Fixed bug #77664 (Segmentation fault when using undefined constant in custom wrapper) 2019-02-25 14:41:46 +08:00
xp_socket.c year++ 2018-01-02 12:55:14 +08:00