]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] capture: do not capture a cookie if there is no memory left
authorWilly Tarreau <w@1wt.eu>
Fri, 19 Nov 2010 10:27:18 +0000 (11:27 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 19 Nov 2010 12:25:11 +0000 (13:25 +0100)
commitf70fc75296aa899baac390a21a4ddbcb135f4b67
tree68f33e51553b3f1636cffc4269686cb593ea6ad0
parente79c3b24fb1d27f6ba39f42dfe893b709ff4722c
[BUG] capture: do not capture a cookie if there is no memory left

In case of out of memory, it was possible to write to a null pointer
when capturing response cookies due to a missing "else" block. The
request handling was fine though.
(cherry picked from commit 62e3604d7dd27741c0b4c9e27d9e7c73495dfc32)
src/proto_http.c