Jerry Snitselaar f585a991e1 fib_trie: potential out of bounds access in trie_show_stats()
With the <= max condition in the for loop, it will be always go 1
element further than needed. If the condition for the while loop is
never met, then max is MAX_STAT_DEPTH, and for loop will walk off the
end of nodesizes[].

Signed-off-by: Jerry Snitselaar <jerry.snitselaar@oracle.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-07-24 16:05:14 -07:00
..
2013-06-12 15:03:24 -07:00
2013-05-28 13:11:02 -07:00
2013-06-12 14:14:55 -07:00
2013-03-17 14:35:13 -04:00
2012-10-08 17:42:36 -04:00
2013-07-01 23:35:22 -07:00
2013-07-16 12:59:28 -07:00
2013-07-02 01:13:09 -07:00
2013-06-10 21:22:35 -07:00
2012-01-20 14:17:26 -05:00
2012-01-20 14:17:26 -05:00
2012-05-17 14:59:59 -04:00
2013-07-10 17:08:27 -07:00
2013-03-21 11:47:50 -04:00
2013-03-21 11:47:50 -04:00
2012-03-11 23:42:51 -07:00
2012-04-15 12:37:19 -04:00
2013-05-31 17:19:05 -07:00