aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2013-04-30 15:27:47 -0700
committerLinus Torvalds <[email protected]>2013-04-30 17:04:04 -0700
commit9151b3982dafaa87bca3834c4d20db831ca98bcb (patch)
treebadf7c6879d8dc28de2c7e7b05f01e9fcb9ed6c0 /scripts
parent79bae42d51a5d498500c890c19ef76df41d2bf59 (diff)
i2o: check copy_from_user() size parameter
Limit the size of the copy so we don't corrupt memory. Hopefully this can only be called by root, but fixing this makes the static checkers happier. Signed-off-by: Dan Carpenter <[email protected]> Cc: Jiri Kosina <[email protected]> Cc: Masanari Iida <[email protected]> Cc: Alan Cox <[email protected]> Cc: Guenter Roeck <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions