]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] config: reset check request to avoid double free when switching to ssl/sql
authorWilly Tarreau <w@1wt.eu>
Mon, 1 Feb 2010 15:31:14 +0000 (16:31 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 1 Feb 2010 15:32:37 +0000 (16:32 +0100)
commit54f6a586cdb74883548d005accb8dfaf42d93c14
treef817cc46f3df2ec156e1b3cdc2d83349a1f804f6
parentdc008c57a4445564e2added7c60a3f644b7001ec
[BUG] config: reset check request to avoid double free when switching to ssl/sql

SSL and SQL checks did only perform a free() of the request without replacing
it, so having multiple SSL/SQL check declarations after another check type
causes a double free condition during config parsing. This should be backported
although it's harmless.
src/cfgparse.c