commit | 8a7fdf036b1ad333961b319212d2505f73b33cc0 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Mon Nov 04 10:59:32 2019 +0100 |
committer | William Lallemand <wlallemand@haproxy.org> | Mon Nov 04 11:22:33 2019 +0100 |
tree | 9298ae274b2afc69df6e8c04cb86d7d35db01a26 | |
parent | 1753cb544dd19714daecb9c6c4b0d07b6abf40f2 [diff] |
BUG/MEDIUM: ssl/cli: don't alloc path when cert not found When doing an 'ssl set cert' with a certificate which does not exist in configuration, the appctx->ctx.ssl.old_ckchs->path was duplicated while app->ctx.ssl.old_ckchs was NULL, resulting in a NULL dereference. Move the code so the 'not referenced' error is done before this.