commit | e566f3db11e781572382e9bfff088a26dcdb75c5 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Oct 21 09:55:49 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Oct 21 10:04:51 2019 +0200 |
tree | ba6efea6abc7ed233663ca107c753f4fe292c969 | |
parent | f7f488d8e9740d64cf82b7ef41e55d4f36fe1a43 [diff] |
BUG/MINOR: ssl: Fix fd leak on error path when a TLS ticket keys file is parsed When an error occurred in the function bind_parse_tls_ticket_keys(), during the configuration parsing, the opened file is not always closed. To fix the bug, all errors are catched at the same place, where all ressources are released. This patch fixes the bug #325. It must be backported as far as 1.7.