]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: buffers: fix get_buffer_nc() for data at end of buffer
authorWilly Tarreau <w@1wt.eu>
Thu, 2 Nov 2017 16:16:07 +0000 (17:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 2 Nov 2017 16:16:07 +0000 (17:16 +0100)
commit4b75fffa2bb0c60f26affe3e784956a0b8087442
tree321a680d092f067251498e98e02ce29f25ae9ba0
parent9c54c53f2fadea9aebe13ba61b0a45de0f63ec8b
BUG/MAJOR: buffers: fix get_buffer_nc() for data at end of buffer

This function incorrectly dealt with the case where data doesn't
wrap but lies at the end of the buffer, resulting in Lukas' reported
data corruption with HTTP/2. No backport is needed, it was introduced
for HTTP/2 in 1.8-dev.
include/common/buffer.h