Skip to content
Commit a0ee18b9 authored by Thomas Graf's avatar Thomas Graf Committed by David S. Miller
Browse files

[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: default avatarThomas Graf <tgraf@suug.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 954b2e7f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment