linux-uconsole/drivers/staging
Daniel Micay 035c3ea160 staging/rts5208: Fix read overflow in memcpy
commit 88a5b39b69 upstream.

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: Amit Pundir <amit.pundir@linaro.org>
2018-09-19 22:48:56 +02:00
..
android staging: android: ion: fix ION_IOC_{MAP,SHARE} use-after-free 2018-09-15 09:40:37 +02:00
board
clocking-wizard
comedi staging: comedi: ni_mio_common: fix subdevice flags for PFI subdevice 2018-09-15 09:40:39 +02:00
dgap
dgnc
emxx_udc staging: emxx_udc: remove incorrect __init annotations 2017-05-14 13:32:58 +02:00
fbtft Staging: fbtft: Fix bug in fbtft-core 2016-10-07 15:23:47 +02:00
fsl-mc
fwserial
gdm72xx
gdm724x staging: gdm724x: gdm_mux: fix use-after-free on module unload 2017-05-20 14:26:59 +02:00
goldfish
gs_fpgaboot
iio staging: iio: adc: ad7192: fix external frequency setting 2018-02-25 11:03:38 +01:00
lustre staging: lustre: ptlrpc: kfree used instead of kvfree 2018-03-28 18:40:17 +02:00
media media: staging: omap4iss: Include asm/cacheflush.h after generic includes 2018-09-05 09:18:35 +02:00
most
mt29f_spinand
netlogic
nvec staging: nvec: remove managed resource from PS2 driver 2016-11-18 10:48:35 +01:00
octeon
octeon-usb
olpc_dcon
panel misc: panel: properly restore atomic counter on error path 2017-11-18 11:11:07 +01:00
rdma IB/ehca: fix maybe-uninitialized warnings 2017-05-08 07:46:02 +02:00
rtl8188eu staging: rtl8188eu: Fix incorrect response to SIOCGIWESSID 2018-02-03 17:04:29 +01:00
rtl8192e staging: rtl8192e: rtl92e_fill_tx_desc fix write to mapped out memory. 2017-06-17 06:39:35 +02:00
rtl8192u staging: rtl8192u: return -ENOMEM on failed allocation of priv->oldaddr 2018-05-30 07:49:14 +02:00
rtl8712 staging: rtl8712: fixed little endian problem 2017-11-21 09:21:22 +01:00
rtl8723au
rts5208 staging/rts5208: Fix read overflow in memcpy 2018-09-19 22:48:56 +02:00
skein
slicoss
sm750fb
speakup staging: speakup: Replace BUG_ON() with WARN_ON(). 2018-03-22 09:23:19 +01:00
ste_rmi4 staging: ste_rmi4: avoid unused function warnings 2018-02-25 11:03:45 +01:00
unisys staging: unisys: visorhba: fix s-Par to boot with option CONFIG_VMAP_STACK set to y 2018-03-24 10:58:44 +01:00
vme
vt6655 vt6655: Fix a possible sleep-in-atomic bug in vt6655_suspend 2017-12-20 10:05:01 +01:00
vt6656 staging: vt6556: vnt_start Fix missing call to vnt_key_init_table. 2017-07-15 11:57:49 +02:00
wilc1000 staging: wilc1000: fix unchecked return value 2018-03-24 10:58:44 +01:00
wlan-ng staging: wlan-ng: prism2mgmt.c: fixed a double endian conversion before calling hfa384x_drvr_setconfig16, also fixes relative sparse warning 2018-04-13 19:50:05 +02:00
xgifb
Kconfig
Makefile
staging.c