Skip to content
Snippets Groups Projects
Commit 2145e15e authored by Matthew Daley's avatar Matthew Daley Committed by Linus Torvalds
Browse files

floppy: don't write kernel-only members to FDRAWCMD ioctl output


Do not leak kernel-only floppy_raw_cmd structure members to userspace.
This includes the linked-list pointer and the pointer to the allocated
DMA space.

Signed-off-by: default avatarMatthew Daley <mattd@bugfuzz.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ef87dbe7
No related branches found
No related tags found
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