Skip to content
Commit 32288eb4 authored by Xi Wang's avatar Xi Wang Committed by David S. Miller
Browse files

netrom: avoid overflows in nr_setsockopt()



Check setsockopt arguments to avoid overflows and return -EINVAL for
too large arguments.

Signed-off-by: default avatarXi Wang <xi.wang@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ba1cffe0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment