]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: fd: Don't fd_stop_recv() a fd we don't own.
authorOlivier Houchard <cognet@ci0.org>
Wed, 17 Jun 2020 18:32:34 +0000 (20:32 +0200)
committerOlivier Houchard <cognet@ci0.org>
Wed, 17 Jun 2020 18:36:28 +0000 (20:36 +0200)
commit8d7b5178240b05f3afab073ad606b40f27d538f2
treedf8c30069cfe566976c5eea68de0e87630e93104
parentf86a106f68531bad6210ff6a272f9c73bd801c06
BUG/MEDIUM: fd: Don't fd_stop_recv() a fd we don't own.

In fd_takeover(), if we failed to grab the fd, when a double-width
compare-and-swap is not implemented, do not call fd_stop_recv() on the
fd, it is not ours and may be used by another thread.
src/fd.c