Re: [DECNet] fib: Fix out of bound access of dn_fib_props[]

2007-03-24 Thread David Miller
From: Thomas Graf <[EMAIL PROTECTED]> Date: Sat, 24 Mar 2007 16:35:13 +0100 > 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:

[DECNet] fib: Fix out of bound access of dn_fib_props[]

2007-03-24 Thread Thomas Graf
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 <[EMAIL PROTECTED]> Index: net-2.6/net/decnet/dn_fib.c =