]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: payload: make req.payload and payload_lv aware of dynamic buffers
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Sep 2015 14:33:10 +0000 (16:33 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Sep 2015 14:38:48 +0000 (16:38 +0200)
commitd7bdcb874bcbd82737e51f080b9b0092863399f9
tree72a28d140c0e3dd31b1157c19b74db49e8612d4c
parentc4b56e4470658d1ad0d2bd59060e85091c97d476
BUG/MEDIUM: payload: make req.payload and payload_lv aware of dynamic buffers

Due to a check between offset+len and buf->size, an empty buffer returns
"will never match". Check against tune.bufsize instead.
(cherry picked from commit 43e4039fd5d208fd9d32157d20de93d3ddf9bc0d)
src/payload.c