linux-stable/drivers/char/pcmcia
Kees Cook 8610047ca8 cm4000_cs: Use struct_group() to zero struct cm4000_dev region
In preparation for FORTIFY_SOURCE performing compile-time and run-time
field bounds checking for memset(), avoid intentionally writing across
neighboring fields.

Add struct_group() to mark region of struct cm4000_dev that should be
initialized to zero.

Cc: Harald Welte <laforge@gnumonks.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/lkml/YQDvxAofJlI1JoGZ@kroah.com
2021-09-25 08:20:49 -07:00
..
cm4000_cs.c cm4000_cs: Use struct_group() to zero struct cm4000_dev region 2021-09-25 08:20:49 -07:00
cm4040_cs.c char: pcmcia: cm4040_cs: Remove unused variable 'uc' 2021-05-21 10:09:28 +02:00
cm4040_cs.h
Kconfig
Makefile
scr24x_cs.c char: pcmcia: scr24x_cs: Fix redundant fops 2021-05-27 14:46:13 +02:00
synclink_cs.c TTY / Serial patches for 5.15-rc1 2021-09-01 09:51:16 -07:00