Kees Cook 3ed780117d usb: iowarrior: don't trust report_size for buffer size
If the iowarrior devices in this case statement support more than 8 bytes
per report, it is possible to write past the end of a kernel heap allocation.
This will probably never be possible, but change the allocation to be more
defensive anyway.

Signed-off-by: Kees Cook <kees.cook@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-22 10:22:08 -07:00
..
2010-10-22 10:22:07 -07:00
2010-03-02 14:54:17 -08:00
2010-03-02 14:54:17 -08:00
2010-03-02 14:54:28 -08:00
2010-10-22 10:22:07 -07:00
2010-03-02 14:54:17 -08:00