]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: log: fix possible segfault during config parsing
authorWilly Tarreau <w@1wt.eu>
Thu, 20 Dec 2012 17:19:26 +0000 (18:19 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 20 Dec 2012 17:21:01 +0000 (18:21 +0100)
commit254d44c01492eef2e2249a5b186f37afd23eac63
treeccd2819ae9904c8564dc9de5ba8fac501344b294
parent9143d374e84687dc2fa1afceeb6609d2e3d79c90
BUG/MEDIUM: log: fix possible segfault during config parsing

When log format arguments are specified within braces with no '+' nor '-'
prefix, the NULL string is compared with known keywords causing a crash.
This only happens during parsing so it does not affect runtime processing.
src/log.c