remarkable-linux/drivers/staging/rts5208
Daniel Micay 88a5b39b69 staging/rts5208: Fix read overflow in memcpy
Noticed by FORTIFY_SOURCE, this swaps memcpy() for strncpy() to zero-value
fill the end of the buffer instead of over-reading a string from .rodata.

Signed-off-by: Daniel Micay <danielmicay@gmail.com>
[kees: wrote commit log]
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Wayne Porter <wporter82@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-06-06 16:16:10 +02:00
..
general.c
general.h
Kconfig
Makefile
ms.c staging: rts5208: ms.c fixed checkpatch warning - using __func__ instead of hardcoded name 2017-04-08 17:05:59 +02:00
ms.h
rtsx.c staging: rts5208: remove unncessary result set and check, just return SUCCESS 2017-02-03 13:01:36 +01:00
rtsx.h
rtsx_card.c
rtsx_card.h
rtsx_chip.c staging: rts5208: Replace a bit shift by a use of BIT. 2017-03-23 14:25:33 +01:00
rtsx_chip.h
rtsx_scsi.c staging/rts5208: Fix read overflow in memcpy 2017-06-06 16:16:10 +02:00
rtsx_scsi.h
rtsx_sys.h
rtsx_transport.c staging: rts5208: Remove unnecessary cast on void pointer 2017-03-09 18:50:05 +01:00
rtsx_transport.h
sd.c rts5208: Fix a sleep-in-atomic bug in rtsx_exclusive_enter_ss 2017-06-03 17:52:00 +09:00
sd.h
spi.c
spi.h
TODO
trace.c
trace.h
xd.c staging: rt5208: Fix a sleep-in-atomic bug in xd_copy_page 2017-06-06 16:16:10 +02:00
xd.h