linux/drivers/net/wireless/intersil
Kees Cook 70ca8441eb orinoco: Avoid field-overflowing memcpy()
In preparation for FORTIFY_SOURCE performing compile-time and run-time
field bounds checking for memcpy(), memmove(), and memset(), avoid
intentionally writing across neighboring array fields.

Validate the expected key size and introduce a wrapping structure
to use as the multi-field memcpy() destination so that overflows
can be correctly detected.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210616203952.1248910-1-keescook@chromium.org
2021-06-22 18:23:35 +03:00
..
hostap proc: mandate ->proc_lseek in "struct proc_ops" 2021-05-06 19:24:11 -07:00
orinoco orinoco: Avoid field-overflowing memcpy() 2021-06-22 18:23:35 +03:00
p54 p54: avoid accessing the data mapped to streaming DMA 2020-09-01 12:33:48 +03:00
prism54 prism54: isl_ioctl: Fix one function header and demote another 2020-11-07 18:05:34 +02:00
Kconfig intersil: fix wiki website url 2020-08-02 18:23:21 +03:00
Makefile