summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorJerry Snitselaar <jerry.snitselaar@oracle.com>2013-07-22 19:01:58 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-07-24 23:05:14 (GMT)
commitf585a991e1d1612265f0d4e812f77e40dd54975b (patch)
tree6a1eb3ded2655de5b3cee3107ebae7eedbbd3309 /usr
parent64d2c22a4cdd3ce752ca700964a6120049d78aed (diff)
downloadlinux-fsl-qoriq-f585a991e1d1612265f0d4e812f77e40dd54975b.tar.xz
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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions