Krzysztof Piotr Oledzki
6f61b21524
[BUG] Fix NULL pointer dereference in stats_check_uri_auth(), v2
...
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.
2009-10-04 23:44:45 +02:00
..
2009-10-04 22:02:50 +02:00
2009-10-03 18:41:19 +02:00
2009-10-04 23:44:45 +02:00
2007-05-13 22:46:04 +02:00
2009-10-01 10:17:37 +02:00
2009-10-04 23:26:19 +02:00
2009-08-19 11:29:44 +02:00
2009-03-05 18:43:00 +01:00
2009-10-03 07:10:14 +02:00
2006-12-04 02:20:02 +01:00
2007-01-01 21:38:07 +01:00
2009-10-03 18:41:18 +02:00
2009-10-03 18:41:18 +02:00
2009-10-03 18:41:18 +02:00
2007-12-05 11:11:55 +01:00
2009-01-25 13:49:53 +01:00
2009-06-10 12:23:32 +02:00
2009-10-04 18:56:02 +02:00
2008-07-16 10:29:07 +02:00
2009-10-04 23:04:08 +02:00
2009-10-04 23:26:19 +02:00
2007-05-13 20:19:55 +02:00
2009-10-04 23:26:19 +02:00
2009-10-04 18:56:02 +02:00
2009-05-10 09:24:23 +02:00
2009-10-03 22:01:18 +02:00
2009-03-28 17:54:35 +01:00
2006-06-29 18:54:54 +02:00