mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-11 22:42:48 +02:00
Recent "struct chunk rework" introduced a NULL pointer dereference and now haproxy segfaults if auth is required for stats but not found. The reason is that size_t cannot store negative values, but current code assumes that "len < 0" == uninitialized. This patch fixes it.