Files
xtables-addons/extensions
Jan Engelhardt 4dcefe4b95 xt_geoip: fix possible out-of-bounds access
It is possible for geoip_bsearch() to pick mid == sizeof(subnets).

Consider a set with a single entry and a "address to test"
higher than the range:

1st call: lo = 0, hi = 1 -> mid will be 0
2nd call: lo = 1, hi = 1 -> mid will be 1

On the 2nd call, we'll examine random data.

Reported-by: Florian Westphal <fw@strlen.de>
2010-06-13 10:40:07 +02:00
..
2009-09-26 00:13:15 +02:00
2008-02-21 18:56:21 +01:00
2009-10-03 21:41:29 +02:00
2009-12-31 16:24:47 +01:00
2009-03-19 11:05:26 +01:00
2009-10-09 17:50:05 +02:00
2010-05-14 11:51:34 +02:00
2008-02-21 18:56:21 +01:00
2009-03-26 21:55:10 +01:00
2008-09-01 15:22:16 -04:00
2008-04-09 19:24:01 +02:00
2009-01-30 06:02:10 +01:00
2009-01-30 06:01:12 +01:00
2009-03-05 01:43:29 +01:00
2009-08-13 00:52:46 +02:00
2009-08-12 21:59:33 +02:00
2009-12-31 16:24:47 +01:00
2009-12-31 16:24:47 +01:00
2008-08-03 12:26:09 -04:00
2008-01-29 03:57:08 +01:00
2008-01-29 03:57:08 +01:00
2008-01-29 03:57:08 +01:00