]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] session: risk of crash on out of memory (1.5-dev regression)
authorWilly Tarreau <w@1wt.eu>
Tue, 19 Jul 2011 22:17:39 +0000 (00:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 19 Jul 2011 22:22:54 +0000 (00:22 +0200)
commit9bd0d744efdcd6bb9c910f50af9768e136d830e2
treeae5a20fe36895120b9f4f0685f8259e51758d4ed
parent6fb82590148ed1af21171bfac5daab0490a96a2d
[BUG] session: risk of crash on out of memory (1.5-dev regression)

Patch af5149 introduced an issue which can be detected only on out of
memory conditions : a LIST_DEL() may be performed on an uninitialized
struct member instead of a LIST_INIT() during the accept() phase,
causing crashes and memory corruption to occur.

This issue was detected and diagnosed by the Exceliance R&D team.

This is 1.5-specific and very recent, so no existing deployment should
be impacted.
include/proto/session.h
src/peers.c
src/session.c