]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: h2: reject non-3-digit status codes
authorWilly Tarreau <w@1wt.eu>
Thu, 9 Nov 2017 10:23:00 +0000 (11:23 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 9 Nov 2017 10:23:00 +0000 (11:23 +0100)
commita87f202b4973925e95029c2ce28108171c4b93c2
treeab9333ea81464c37a6b54a8bdaed1b2eab41fb80
parent1b4cf9b7545792aedbf9cf00b8948e6cf28824ed
BUG/MEDIUM: h2: reject non-3-digit status codes

If the H1 parser would report a status code length not consisting in
exactly 3 digits, the error case was confused with a lack of buffer
room and was causing the parser to loop infinitely.
src/mux_h2.c