[PATCH 3.13 2/3] floppy: ignore kernel-only members in FDRAWCMD ioctl input

2014-05-06 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Matthew Daley commit ef87dbe7614341c2e7bfe8d32fcb7028cc97442c upstream. Always clear out these floppy_raw_cmd struct members after copying the entire structure from userspace so that

[PATCH 3.13 2/3] floppy: ignore kernel-only members in FDRAWCMD ioctl input

2014-05-06 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Matthew Daley ma...@bugfuzz.com commit ef87dbe7614341c2e7bfe8d32fcb7028cc97442c upstream. Always clear out these floppy_raw_cmd struct members after copying the entire structure from