]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: config: don't crash at config load time on invalid userlist names
authorWilly Tarreau <w@1wt.eu>
Thu, 10 May 2012 21:40:14 +0000 (23:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 10 May 2012 21:42:22 +0000 (23:42 +0200)
commit46b39d0dc62e09f08efd61311d40f777d63c2192
treea69cc558c5d236bc8fddcc80270028517e4beb70
parentb95095979c3dbe89b687bd2b4dec2f8b885e0929
BUG/MEDIUM: config: don't crash at config load time on invalid userlist names

Cyril Bonté reported that passing an invalid userlist name to
http_auth_group() caused haproxy to crash at load. This was due
to an attempt to use the unresolved userlist pointer later to
resolve auth groups since we report many errors before leaving
now.

This issue does not exist in earlier versions since they immediately
abort on the first error, so no backport is needed.
src/acl.c