diff options
author | Xi Wang <xi.wang@gmail.com> | 2011-12-27 09:44:53 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-28 14:08:08 -0500 |
commit | 32288eb4d940b10e40c6d4178fe3a40d1437d2f8 (patch) | |
tree | 7cdd2b53eae8b6381eec1ddd497f28615277f1c2 /net/caif | |
parent | ba1cffe0257bcd4d0070bc0e64f8ead97fefd148 (diff) | |
download | linux-32288eb4d940b10e40c6d4178fe3a40d1437d2f8.tar.gz linux-32288eb4d940b10e40c6d4178fe3a40d1437d2f8.tar.bz2 linux-32288eb4d940b10e40c6d4178fe3a40d1437d2f8.zip |
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 'net/caif')
0 files changed, 0 insertions, 0 deletions