commit | f0fa6c0306fc48c9b982c412e926b284906ba62d | [log] [tgz] |
---|---|---|
author | Matthew Daley <mattd@bugfuzz.com> | Mon Apr 28 19:05:21 2014 +1200 |
committer | Willy Tarreau <w@1wt.eu> | Mon May 19 07:54:39 2014 +0200 |
tree | bef20d7baa3a103066302d4dd353502076e57865 | |
parent | f76b441b9d5879587f53525933d27b16217ca78c [diff] |
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: Matthew Daley <mattd@bugfuzz.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> (cherry picked from commit 2145e15e0557a01b9195d1c7199a1b92cb9be81f) Signed-off-by: Willy Tarreau <w@1wt.eu>