linux/drivers/usb/misc
Matthew Garrett 62b5884875 isight_firmware: Avoid crash on loading invalid firmware
Different tools generate slightly different formats of the isight
firmware. Ensure that the firmware buffer is not overrun, while still
ensuring that the correct amount of data is written if trailing data is
present.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Report-by: Justin Mattock <justinmattock@gmail.com>
Tested-by: Justin Mattock <justinmattock@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-06-11 17:06:33 -07:00
..
sisusbvga
adutux.c
appledisplay.c
auerswald.c
berry_charge.c
cypress_cy7c63.c
cytherm.c
emi26.c
emi26_fw.h
emi62.c
emi62_fw_m.h
emi62_fw_s.h
ftdi-elan.c
idmouse.c
iowarrior.c
isight_firmware.c isight_firmware: Avoid crash on loading invalid firmware 2008-06-11 17:06:33 -07:00
Kconfig USB: fix build bug in USB_ISIGHTFW 2008-06-11 17:06:32 -07:00
ldusb.c
legousbtower.c
Makefile USB: Firmware loader driver for USB Apple iSight camera 2008-05-29 13:59:02 -07:00
phidget.c
phidget.h
phidgetkit.c USB: Phidget: fix race in device_create 2008-05-20 13:31:56 -07:00
phidgetmotorcontrol.c USB: Phidget: fix race in device_create 2008-05-20 13:31:56 -07:00
phidgetservo.c USB: Phidget: fix race in device_create 2008-05-20 13:31:56 -07:00
rio500.c
rio500_usb.h
trancevibrator.c
usb_u132.h
usblcd.c
usbled.c
usbtest.c
uss720.c