mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 13:11:45 +00:00
a6756da9ea
This patch fixes a very serious off-by-one bug in the driver, which could leave the device in an unresponsive state. The problem was that the extra_len variable [used to reserve extra scratch buffer space for the firmware] was left uninitialized. Because p54_assign_address later needs the value to reserve additional space, the resulting frame could be to big for the small device's memory window and everything would immediately come to a grinding halt. Reference: https://bugs.launchpad.net/bugs/722185 Cc: <stable@kernel.org> Acked-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Jason Conti <jason.conti@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
eeprom.c | ||
eeprom.h | ||
fwio.c | ||
Kconfig | ||
led.c | ||
lmac.h | ||
main.c | ||
Makefile | ||
net2280.h | ||
p54.h | ||
p54pci.c | ||
p54pci.h | ||
p54spi_eeprom.h | ||
p54spi.c | ||
p54spi.h | ||
p54usb.c | ||
p54usb.h | ||
txrx.c |