Files
linux/drivers
Dan Carpenter d76556549e ksz884x: don't copy too much in netdev_set_mac_address()
[ Upstream commit 716af4abd6 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-04-27 09:51:21 -07:00
..
2012-02-13 11:06:13 -08:00
2012-01-25 17:24:54 -08:00
2012-01-25 17:24:56 -08:00
2012-04-13 08:14:05 -07:00
2012-01-06 14:13:48 -08:00
2012-04-27 09:51:06 -07:00
2011-11-21 14:31:14 -08:00