]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: cache: fix random crash on filter parser's error path
authorWilly Tarreau <w@1wt.eu>
Fri, 14 Dec 2018 09:19:28 +0000 (10:19 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 14 Dec 2018 09:19:28 +0000 (10:19 +0100)
commita73da1ed25df3ade12c5ae3aafdad82bf2ec5384
treeebffc1bc60c2ec230da061564c1abf5a554834a8
parent4a7b5b3fdb291eb54b5750f2328d06ef16935f5c
BUG/MEDIUM: cache: fix random crash on filter parser's error path

The cconf variable was not initialized before the two first possible
error exits before being freed, resulting in random crashes instead
of displaying an error message if the cache ID was missing from the
filter declaration.

No backport is needed, this is exclusively 1.9.
src/cache.c