]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] stick-table: use the private buffer when padding strings
authorWilly Tarreau <w@1wt.eu>
Tue, 4 Jan 2011 05:29:44 +0000 (06:29 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 4 Jan 2011 05:29:44 +0000 (06:29 +0100)
commitf18b5f21bafef909901b7b5cf95625a63e609c75
treea7fa065c80fb3c729f85785f1680a703c0d903ea
parent5109196275d0e7a33f5d029bff96aa0fd58d759a
[BUG] stick-table: use the private buffer when padding strings

Commit 035da6d1b0c436b85add48bc22120aa814c9cab9 was incorrect as it
could modify a live buffer. We must first ensure that we're on the
private buffer or perform a copy before modifying the data.
src/stick_table.c