diff options
author | Matthew Daley <mattd@bugfuzz.com> | 2014-04-28 19:05:20 +1200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-13 13:32:47 +0200 |
commit | fb9a2011887416ffdc576d10711dc196343aab69 (patch) | |
tree | 58fe6ee4e124b075884a217b1f9ae529393a3d2a /scripts/show_delta | |
parent | 6d194d6e0d832e622d87b8dab4e2122c555a82e9 (diff) | |
download | lwn-fb9a2011887416ffdc576d10711dc196343aab69.tar.gz lwn-fb9a2011887416ffdc576d10711dc196343aab69.zip |
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 'scripts/show_delta')
0 files changed, 0 insertions, 0 deletions