[php-src] PR #22548: Check whether stream correctly ends in dechunk
| From: | Sjord | Date: | Thu, 02 Jul 2026 11:56:52 +0000 |
| Subject: | [php-src] PR #22548: Check whether stream correctly ends in dechunk | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36776@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22548
Author: Sjord
At the end of the stream, we expect to have read the trailer. Check whether the chunked encoding is
at the end of the encoded data when the stream ends.
This makes it more difficult to abuse the dechunk filter for abuse.
Related to #21983