]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: buffer: Fix the wrapping case in bo_putblk
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 26 Feb 2018 09:47:03 +0000 (10:47 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 27 Feb 2018 14:45:03 +0000 (15:45 +0100)
commitb2b279464c5c0f3dfadf02333e06eb0ae8ae8793
treecaa0ac16f9beabecdc0990b2813ad16f1585f332
parent35a62705df65632e2717ae0d20a93e0cb3f8f163
BUG/MEDIUM: buffer: Fix the wrapping case in bo_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 skip data copied during
the first memcpy.

This patch must be backported to 1.8, 1.7, 1.6 and 1.5.
include/common/buffer.h