diff options
author | Nikita Danilov <[email protected]> | 2019-02-27 12:10:03 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-03-01 16:45:15 -0800 |
commit | ff83dbf21e79d03f3788943a5bce12c39a06a3ab (patch) | |
tree | c1a149241e804d50d31d82adcb8f8f1c68468d6a /net/switchdev/switchdev.c | |
parent | 699be71534e8f03af12b01013d0a4b405f5ef148 (diff) |
net: aquantia: fixed memcpy size
Not careful array dereference caused analysis tools
to think there could be memory overflow.
There was actually no corruption because the array is
two dimensional.
drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c: 140
aq_ethtool_get_strings() error:
memcpy() '*aq_ethtool_stat_names' too small (32 vs 704)
Signed-off-by: Nikita Danilov <[email protected]>
Signed-off-by: Igor Russkikh <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions