diff options
author | Matthew Daley <mattd@bugfuzz.com> | 2014-04-28 19:05:20 +1200 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2014-05-18 14:58:09 +0100 |
commit | d79119d4089defc81a49c6a7e26ff5ff86f4b342 (patch) | |
tree | d93ea3f7c0f9160026aab327b3582a5d5770f5a6 /sound/soc/au1x/psc.h | |
parent | 1e5099713cefc67aa562f6d8fe43444f41baf52d (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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'sound/soc/au1x/psc.h')
0 files changed, 0 insertions, 0 deletions