mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 21:12:43 +00:00
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]>