diff options
| author | Kees Cook <[email protected]> | 2021-06-17 04:14:31 +0000 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2021-06-22 15:23:54 +0000 |
| commit | 3f26f7665c5ddc880444e3daaecb3a46794ba3a4 (patch) | |
| tree | 9b49ab2031b61e40958923fe551d3a98ea4bf508 /net/switchdev/switchdev.c | |
| parent | orinoco: Avoid field-overflowing memcpy() (diff) | |
| download | kernel-3f26f7665c5ddc880444e3daaecb3a46794ba3a4.tar.gz kernel-3f26f7665c5ddc880444e3daaecb3a46794ba3a4.zip | |
mwl8k: Avoid memcpy() over-reading of mcs.rx_mask
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 <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
