diff options
author | Xi Wang <xi.wang@gmail.com> | 2011-12-27 13:44:53 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-28 23:08:08 +0400 |
commit | 32288eb4d940b10e40c6d4178fe3a40d1437d2f8 (patch) | |
tree | 7cdd2b53eae8b6381eec1ddd497f28615277f1c2 /include/net/neighbour.h | |
parent | ba1cffe0257bcd4d0070bc0e64f8ead97fefd148 (diff) | |
download | linux-32288eb4d940b10e40c6d4178fe3a40d1437d2f8.tar.xz |
netrom: avoid overflows in nr_setsockopt()
Check setsockopt arguments to avoid overflows and return -EINVAL for
too large arguments.
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/neighbour.h')
0 files changed, 0 insertions, 0 deletions