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
..
2008-08-03 09:41:05 +02:00
2009-10-01 11:19:37 +02:00
2009-10-04 23:44:45 +02:00
2009-09-23 23:15:36 +02:00
2008-07-16 10:30:40 +02:00
2007-03-24 17:24:39 +01:00
2009-10-04 18:56:02 +02:00
2008-05-30 07:07:19 +02:00
2009-10-01 11:05:26 +02:00
2007-01-21 19:16:41 +01:00
2006-12-24 17:47:20 +01:00
2009-10-01 11:19:37 +02:00
2009-10-01 11:19:37 +02:00
2009-10-01 21:11:15 +02:00
2009-04-03 12:01:47 +02:00
2009-01-25 13:49:53 +01:00
2009-06-10 12:23:32 +02:00
2009-10-04 15:56:38 +02:00
2009-08-16 17:46:15 +02:00
2009-08-16 19:34:23 +02:00
2007-11-04 22:42:49 +01:00
2009-10-04 23:26:19 +02:00
2008-12-07 23:51:12 +01:00
2009-10-04 23:26:19 +02:00
2009-03-15 22:34:05 +01:00
2009-05-10 09:24:23 +02:00
2009-09-23 23:52:15 +02:00
2008-12-28 11:09:02 +01:00
2009-03-28 17:54:35 +01:00
2006-06-29 18:54:54 +02:00