Skip to content
Commit ef87dbe7 authored by Matthew Daley's avatar Matthew Daley Committed by Linus Torvalds
Browse files

floppy: ignore kernel-only members in FDRAWCMD ioctl input



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: default avatarMatthew Daley <mattd@bugfuzz.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 89ca3b88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment