]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: peers: initialize s->buffer_wait when creating the session
authorWilly Tarreau <w@1wt.eu>
Sat, 14 Feb 2015 13:14:57 +0000 (14:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 14 Feb 2015 13:16:35 +0000 (14:16 +0100)
commit2d7ec46b046c3615b2ed3dbf2384dccff9bc342c
tree0614b006cb559e4f4e2bad7fa510db3d078c6f07
parent73bc285be194f443dc7eab9c949e87e1dbe8f70c
BUG/MAJOR: peers: initialize s->buffer_wait when creating the session

Commit bf883e0 ("MAJOR: session: implement a wait-queue for sessions who
need a buffer") introduced in 1.6 forgot to initialize the buffer_wait
list when the session is initiated by an applet for a peer, resulting in
a crash. Thanks to Chris Kopp for reporting the issue.
src/peers.c