diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-05-01 00:27:47 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-01 02:04:04 +0200 |
commit | 9151b3982dafaa87bca3834c4d20db831ca98bcb (patch) | |
tree | badf7c6879d8dc28de2c7e7b05f01e9fcb9ed6c0 /net/dns_resolver | |
parent | dmi_scan: refactor dmi_scan_machine(), {smbios,dmi}_present() (diff) | |
download | linux-9151b3982dafaa87bca3834c4d20db831ca98bcb.tar.xz linux-9151b3982dafaa87bca3834c4d20db831ca98bcb.zip |
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 <dan.carpenter@oracle.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Masanari Iida <standby24x7@gmail.com>
Cc: Alan Cox <alan@linux.intel.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/dns_resolver')
0 files changed, 0 insertions, 0 deletions