summaryrefslogtreecommitdiff
path: root/drivers/hwmon/lm87.c
diff options
context:
space:
mode:
authorMatthew Daley <mattd@bugfuzz.com>2014-04-28 19:05:20 +1200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-13 13:59:40 +0200
commit21506304588afab20b2d52aaa56b70e85aca6386 (patch)
treeb54ddcabf5be8cfa8b39bd7856f8c00f2bb412e9 /drivers/hwmon/lm87.c
parentabb5100737bba3f82b5514350fea89ca361ac66c (diff)
floppy: ignore kernel-only members in FDRAWCMD ioctl input
commit ef87dbe7614341c2e7bfe8d32fcb7028cc97442c upstream. Always clear out these floppy_raw_cmd struct members after copying the entire structure from userspace so that the in-kernel version is always valid and never left in an interdeterminate state. Signed-off-by: Matthew Daley <mattd@bugfuzz.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon/lm87.c')
0 files changed, 0 insertions, 0 deletions