Thread (2 messages) read the whole thread 2 messages, 2 authors, 2021-06-22

Re: [PATCH v2] mwl8k: Avoid memcpy() over-reading of mcs.rx_mask

From: Kalle Valo <hidden>
Date: 2021-06-22 15:24:49
Also in: linux-hardening, lkml, netdev

Kees Cook [off-list ref] wrote:
In preparation for FORTIFY_SOURCE performing compile-time and run-time
field bounds checking for memcpy(), memmove(), and memset(), avoid
intentionally reading across neighboring array fields. Use the
sub-structure address directly.

Signed-off-by: Kees Cook <redacted>
Patch applied to wireless-drivers-next.git, thanks.

3f26f7665c5d mwl8k: Avoid memcpy() over-reading of mcs.rx_mask

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20210617041431.2168953-1-keescook@chromium.org/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help