]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h3: reject invalid :status in response
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 17 Jun 2025 09:33:53 +0000 (11:33 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 17 Jun 2025 09:39:35 +0000 (11:39 +0200)
commit8fc0d2fbd5ac3a5b065a692ec9380d4da2aebd23
tree727dd78b979211b26eb1c725930beae667abfa25
parentf972f7d9e925a92b64da42ebae1022cd65ac0996
MINOR: h3: reject invalid :status in response

Add checks to ensure that :status pseudo-header received in HTTP/3
response is valid. If either the header is not provided, or it isn't a 3
digit numbers, the response is considered as invalid and the streams is
rejected. Also, glitch counter is now incremented in any of these cases.

This should fix coverity report from github issue #3009.
src/h3.c