diff options
| author | Matthew Dharm <mdharm-usb@one-eyed-alien.net> | 2002-07-15 03:19:17 -0700 |
|---|---|---|
| committer | Vojtech Pavlik <vojtech@suse.cz> | 2002-07-15 03:19:17 -0700 |
| commit | 6fa91667b6f5555c7ad5f065d72cb28e5ee9df4e (patch) | |
| tree | 75a30e043b2095c103590b656814cda81065ee90 /include/linux/hiddev.h | |
| parent | 793fb491657f2a4c82d96a92c3b539f3c131b3bf (diff) | |
[PATCH] usb-storage: catch bad commands
The purpose of this patch is to trap all commands which have a bogus
request_bufflen. Much logic is devoted to calculating the proper length of
the transfer, but according to discussions I've had on linux-scsi, this is
really a bug in whatever is originating the bad command.
Hopefully, after people use this patch for a while, we'll eliminate all the
offending sources and can remove quite a bit of logic from the driver.
Diffstat (limited to 'include/linux/hiddev.h')
0 files changed, 0 insertions, 0 deletions
