diff options
author | 2012-04-19 10:00:19 +0300 | |
---|---|---|
committer | 2012-04-19 13:25:03 -0400 | |
commit | 716af4abd6e6370226f567af50bfaca274515980 (patch) | |
tree | d0e70526f6b98daa8ec61ad06d72a666392d1ad0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tcp: fix retransmit of partially acked frames (diff) | |
download | linux-dev-716af4abd6e6370226f567af50bfaca274515980.tar.xz linux-dev-716af4abd6e6370226f567af50bfaca274515980.zip |
ksz884x: don't copy too much in netdev_set_mac_address()
MAX_ADDR_LEN is 32. ETH_ALEN is 6. mac->sa_data is a 14 byte array, so
the memcpy() is doing a read past the end of the array. I asked about
this on netdev and Ben Hutchings told me it's supposed to be copying
ETH_ALEN bytes (thanks Ben).
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions