android_kernel_xiaomi_sm8350/drivers/usb/storage
Alan Stern 7084191d53 USB: usb-storage: don't access beyond the end of the sg buffer
This patch (as1035) fixes a bug in usb_stor_access_xfer_buf() (the bug
was originally found by Boaz Harrosh): The routine must not attempt to
write beyond the end of a scatter-gather list or beyond the number of
bytes requested.  It also fixes up the formatting of a few comments
and similar whitespace issues.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-02-21 15:38:55 -08:00
..
alauda.c USB storage: sg chaining support 2007-10-16 11:20:59 +02:00
alauda.h
datafab.c USB storage: sg chaining support 2007-10-16 11:20:59 +02:00
datafab.h
debug.c
debug.h
dpcm.c USB: drivers/usb/storage/dpcm.c whitespace cleanup 2007-07-19 17:46:08 -07:00
dpcm.h
freecom.c [SCSI] usb: freecom & sddr09 - convert to accessors and !use_sg cleanup 2008-01-11 18:22:36 -06:00
freecom.h
initializers.c USB: usb/storage/initializers.c: fix signedness difference 2008-02-01 14:34:57 -08:00
initializers.h USB: usb-storage: Initialize Huawei E220 properly 2007-10-12 14:55:24 -07:00
isd200.c USB: isd200: don't include <linux/ide.h> 2008-02-01 14:34:47 -08:00
isd200.h
jumpshot.c USB storage: sg chaining support 2007-10-16 11:20:59 +02:00
jumpshot.h
karma.c
karma.h
Kconfig USB: isd200: sort out USB/IDE dependancy mess 2007-10-25 12:18:43 -07:00
libusual.c kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
Makefile
onetouch.c USB: storage: onetouch: clean up urb->status usage 2007-07-19 17:46:06 -07:00
onetouch.h
protocol.c USB: usb-storage: don't access beyond the end of the sg buffer 2008-02-21 15:38:55 -08:00
protocol.h USB storage: sg chaining support 2007-10-16 11:20:59 +02:00
scsiglue.c [SCSI] usbstorage: use last_sector_bug flag universally 2008-01-25 16:50:31 -06:00
scsiglue.h
sddr09.c [SCSI] usb: freecom & sddr09 - convert to accessors and !use_sg cleanup 2008-01-11 18:22:36 -06:00
sddr09.h
sddr55.c USB storage: sg chaining support 2007-10-16 11:20:59 +02:00
sddr55.h
shuttle_usbat.c [SCSI] usb: shuttle_usbat - convert to accessors and !use_sg code path removal 2008-01-11 18:22:37 -06:00
shuttle_usbat.h
transport.c USB: usb-storage: don't clear-halt when Get-Max-LUN stalls 2008-02-21 15:38:52 -08:00
transport.h [SCSI] usb: transport - convert to accessors and !use_sg code path removal 2008-01-11 18:22:38 -06:00
unusual_devs.h USB: quirks and unusual_devs entry for Actions flash drive 2008-02-21 15:38:54 -08:00
usb.c freezer: introduce freezer-friendly waiting macros 2007-10-18 14:37:19 -07:00
usb.h usb-storage: fix bugs in the disconnect pathway 2007-08-22 14:27:52 -07:00