]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: stick-table: fix regression caused by a change in proxy struct
authorDragan Dosen <ddosen@haproxy.com>
Tue, 7 May 2019 12:16:18 +0000 (14:16 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 7 May 2019 12:56:59 +0000 (14:56 +0200)
commit7d61a339216639a77361b9f41c9ac195fecf4897
tree81a4f55aa3681c3a45b2950afde95b59b7ae0f25
parenteaa45550032be56c26ba7772599336f66975b06d
BUG/MEDIUM: stick-table: fix regression caused by a change in proxy struct

In commit 1b8e68e ("MEDIUM: stick-table: Stop handling stick-tables as
proxies."), the ->table member of proxy struct was replaced by a pointer
that is not always checked and in some situations can cause a segfault,
eg. during reload or while using "show table" on CLI socket.

No backport is needed.
src/cfgparse.c
src/haproxy.c
src/stick_table.c