]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: auth: fix segfault with http-auth and a configuration with an unknown...
authorCyril Bonté <cyril.bonte@free.fr>
Fri, 29 Aug 2014 18:20:01 +0000 (20:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 29 Aug 2014 19:06:31 +0000 (21:06 +0200)
commitc82279c5fc70a6d12ab6efd61e6c9f536e5d4a3f
tree89634a466cfb55da0b1700cb22ba3e5cbcd97e39
parentaa4e32e10a126ad8370551c9ce0c65882f59d6bc
BUG/MEDIUM: auth: fix segfault with http-auth and a configuration with an unknown encryption algorithm

Grégoire Morpain reported a segfault when a secured password is used for http
authentication. It was caused by the use of an unsupported encryption algorithm
with libcrypto. In this case, crypt() returns a NULL pointer.

The fix should be backported to 1.4 and 1.5.
src/auth.c