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
freecom.h
initializers.c
initializers.h
isd200.c
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
scsiglue.h
sddr09.c
sddr09.h
sddr55.c
sddr55.h
shuttle_usbat.c
shuttle_usbat.h
transport.c
transport.h
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