]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: log: possible segfault with logformat
authorWilliam Lallemand <wlallemand@exceliance.fr>
Mon, 26 Mar 2012 15:52:55 +0000 (17:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 27 Mar 2012 17:42:43 +0000 (19:42 +0200)
commit51b5dcae8506805dae8d4f24ea628c87ad3d21ad
treeca0a96444287516c3bcdd34e7cff1f7231b7a091
parent9eeb57bd7f8f5fab0383b4777352572ba583859b
BUG/MAJOR: log: possible segfault with logformat

Possible zero-pointer deference in sess_log().
Checks of return values in sess_log() fix the issue.

Fix bad computation in logformat_write_string().

This issue is 1.5-specific and was introduced just before 1.5-dev8.
No backport is needed.
src/log.c