diff options
author | 2021-08-24 19:52:49 +0300 | |
---|---|---|
committer | 2021-08-25 11:07:55 +0100 | |
commit | e543468869e2532f5d7926e8f417782b48eca3dc (patch) | |
tree | 6db95079aaf1583b7c72a3095e312473eecd5ea5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: stmmac: fix kernel panic due to NULL pointer dereference of buf->xdp (diff) | |
download | wireguard-linux-e543468869e2532f5d7926e8f417782b48eca3dc.tar.xz wireguard-linux-e543468869e2532f5d7926e8f417782b48eca3dc.zip |
qede: Fix memset corruption
Thanks to Kees Cook who detected the problem of memset that starting
from not the first member, but sized for the whole struct.
The better change will be to remove the redundant memset and to clear
only the msix_cnt member.
Signed-off-by: Prabhakar Kushwaha <pkushwaha@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Shai Malin <smalin@marvell.com>
Reported-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions