[php-src] PR #25500: Fix GH-25464: stream_filter_remove() + stale readbuflen on a read fil…
| From: | devnexen | Date: | Mon, 16 Nov 2026 21:23:38 +0000 |
| Subject: | [php-src] PR #25500: Fix GH-25464: stream_filter_remove() + stale readbuflen on a read fil… | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-40705@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25500
Author: devnexen
…ter.
_php_stream_filter_flush() grew the read buffer without updating readbuflen, so the next fill
computed readbuflen - writepos as a wrapped size and handed it to the read handler. Keep readbuflen
in sync with the reallocated size.