BUG/MEDIUM: ssl/cli: fix dot research in cli_parse_set_cert
authorEmmanuel Hocdet <manu@gandi.net>
Wed, 30 Oct 2019 16:31:28 +0000 (17:31 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 31 Oct 2019 16:32:06 +0000 (17:32 +0100)
commit40f2f1e341ba66df6c9afbfd03bfbe49ba6be5cf
treeee468b07bd2abaf9495486f8dffcddc0f6b13c98
parenteaad5cc2d83ddd2b1c3ea314cb7eba0d54e45b64
BUG/MEDIUM: ssl/cli: fix dot research in cli_parse_set_cert

During a 'set ssl cert', the result of the strrchr was wrongly tested
and can lead to a segfault when the certificate path did not contained a
dot.
src/ssl_sock.c