[php-src] PR #26012: CLI server: Enforce header limit for trailers
| From: | imattas | Date: | Wed, 02 Dec 2026 02:25:06 +0000 |
| Subject: | [php-src] PR #26012: CLI server: Enforce header limit for trailers | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-41343@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/26012
Author: imattas
Count chunked trailer bytes against the existing aggregate HTTP header limit. Trailer parsing reuses
the header states, so excluding those states when F_TRAILING is set allowed persistent request
header strings to grow without this bound.\n\nFinding:
sapi.cli.unbounded-http-trailers\n\nValidation: static source and diff review; runtime tests not
run.