]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: h1: Really skip all updates when incomplete messages are parsed
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 19 Sep 2018 12:01:04 +0000 (14:01 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 19 Sep 2018 13:08:05 +0000 (15:08 +0200)
commit2912f874435ca78a848a38f06bdd5dc693028fa7
tree2c795897903895d17678cd99826bd637a13acd1d
parentf147479bd56bfeb442b25c458dab95b70d6e1c8b
BUG/MEDIUM: h1: Really skip all updates when incomplete messages are parsed

In h1_headers_to_hdr_list, when an incomplete message is parsed, all updates
must be skipped until the end of the message is found. Then the parsing is
restarted from the beginning. But not all updates were skipped, leading to
invalid rewritting or segfault.

No backport is needed.
src/h1.c