]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: http: http_parse_chunk_crlf() must not advance the buffer pointer
authorWilly Tarreau <w@1wt.eu>
Thu, 17 Apr 2014 09:40:10 +0000 (11:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 22 Apr 2014 21:15:28 +0000 (23:15 +0200)
commit0669d7dcf3c8193f35798d07b81d5db50bd392ec
tree4905bbbd01d6ee8b54e287df6343fc4eab760c3f
parent877e78dbef7d5c8f02c02a23435e80fa955b8027
MEDIUM: http: http_parse_chunk_crlf() must not advance the buffer pointer

This function is only a parser, it must start to parse at the next character
and only update the outgoing relative pointers, but not expect the buffer to
be aligned with the next byte to be parsed.

It's important to fix this otherwise we cannot use this function to parse
chunks without starting to forward data.
src/proto_http.c