BUG/MEDIUM: ssl: fix ssl_bind_conf double free w/ wildcards
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 26 Aug 2020 15:34:44 +0000 (17:34 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 26 Aug 2020 15:39:23 +0000 (17:39 +0200)
commita78f3f0d79dc68bb42c2944439202f7cff40cc7f
tree0f2e4223002d0b9a069fbb2d627127a89ea729c6
parentcf1f193624acb9d5a52f40375bb445e5438dd89e
BUG/MEDIUM: ssl: fix ssl_bind_conf double free w/ wildcards

The fix 7df5c2d ("BUG/MEDIUM: ssl: fix ssl_bind_conf double free") was
not complete. The problem still occurs when using wildcards in
certificate, during the deinit.

This patch removes the free of the ssl_conf structure in
ssl_sock_free_all_ctx() since it's already done in the crtlist deinit.

It must be backported in 2.2.
src/ssl_sock.c