]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: buffers: Make sure we don't wrap in ci_insert_line2/b_rep_blk.
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 26 Sep 2018 13:09:58 +0000 (15:09 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 8 Oct 2018 14:11:54 +0000 (16:11 +0200)
commit363c745569b6ffd8f095d2b7758131d08aa27219
treea77bc3a60d934372245a302c3185530fe1837799
parent747ca61693b28e33d7bf5994fee5675a45385635
BUG/MEDIUM: buffers: Make sure we don't wrap in ci_insert_line2/b_rep_blk.

In ci_insert_line2() and b_rep_blk(), we can't afford to wrap, so don't use
b_tail() to check if we do, use __b_tail() instead.

This should be backported to previous versions.
include/common/buf.h
src/channel.c