commit | d5e9377312eb9d64351a878f7d3f7d4a231bdb55 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Thu Apr 09 17:12:16 2020 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Thu Apr 09 17:12:16 2020 +0200 |
tree | 66892ac4a7449beab4acec9d9b038b0cce827e84 | |
parent | ba1c33f8262e40ea3c334a2db4eba18e7e481364 [diff] |
BUG/MEDIUM: ssl/cli: trying to access to free'd memory Bug introduced by d9d5d1b ("MINOR: ssl: free instances and SNIs with ckch_inst_free()"). Upon an 'commit ssl cert' the HA_RWLOCK_WRUNLOCK of the SNI lock is done with using the bind_conf pointer of the ckch_inst which was freed. Fix the problem by using an intermediate variable to store the bind_conf pointer.