commit | a0ee18b9b7d3847976c6fb315c06a34fb296de0e | [log] [tgz] |
---|---|---|
author | Thomas Graf <tgraf@suug.ch> | Sat Mar 24 20:32:54 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Sun Mar 25 18:48:03 2007 -0700 |
tree | 5ebef9a68b3aba01c0d8b3285429ae47bb287c9a | |
parent | 954b2e7f4c37cbcdcf4ca7ac47524f3f6bf30119 [diff] |
[IPv4] fib: Fix out of bound access of fib_props[] Fixes a typo which caused fib_props[] to have the wrong size and makes sure the value used to index the array which is provided by userspace via netlink is checked to avoid out of bound access. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>