aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc
diff options
context:
space:
mode:
authorShai Malin <[email protected]>2021-08-24 19:52:49 +0300
committerDavid S. Miller <[email protected]>2021-08-25 11:07:55 +0100
commite543468869e2532f5d7926e8f417782b48eca3dc (patch)
tree6db95079aaf1583b7c72a3095e312473eecd5ea5 /drivers/pci/controller/dwc
parent2b9fff64f03219d78044d1ab40dde8e3d42e968a (diff)
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 <[email protected]> Signed-off-by: Ariel Elior <[email protected]> Signed-off-by: Shai Malin <[email protected]> Reported-by: Kees Cook <[email protected]> Reviewed-by: Kees Cook <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions