commit | 7df5c2dc3c32db8c844671fd22bd228816c001a2 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Tue Jun 23 11:02:17 2020 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Tue Jun 23 20:06:55 2020 +0200 |
tree | 1b9ba31398ee37ecb662845785dac947eddfaa54 | |
parent | c17a5fac5742060c591d65858616ac11cfb4f3c9 [diff] |
BUG/MEDIUM: ssl: fix ssl_bind_conf double free Since commit 2954c47 ("MEDIUM: ssl: allow crt-list caching"), the ssl_bind_conf is allocated directly in the crt-list, and the crt-list can be shared between several bind_conf. The deinit() code wasn't changed to handle that. This patch fixes the issue by removing the free of the ssl_conf in ssl_sock_free_all_ctx(). It should be completed with a patch that free the ssl_conf and the crt-list. Fix issue #700.