]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: buffer: Fix the wrapping case in bi_putblk
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 26 Feb 2018 09:51:28 +0000 (10:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 27 Feb 2018 14:45:03 +0000 (15:45 +0100)
commitca6ef506610e9d78f99b7ab2095ce0f8a47e18df
tree080953052f671a00633f41dd207d0a593a29a06c
parentb2b279464c5c0f3dfadf02333e06eb0ae8ae8793
BUG/MEDIUM: buffer: Fix the wrapping case in bi_putblk

When the block of data need to be split to support the wrapping, the start of
the second block of data was wrong. We must be sure to skup data copied during
the first memcpy.

This patch must be backported to 1.8.
include/common/buffer.h