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
alauda.h
datafab.c
datafab.h
debug.c
debug.h
dpcm.c
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
isd200.c USB: isd200: don't include <linux/ide.h> 2008-02-01 14:34:47 -08:00
isd200.h
jumpshot.c
jumpshot.h
karma.c
karma.h
Kconfig
libusual.c
Makefile
onetouch.c
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
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
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
usb.h