Dan Carpenter
716af4abd6
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>
2012-04-19 13:25:03 -04:00
..
2012-04-06 19:56:04 -07:00
2012-04-07 09:56:00 -07:00
2012-04-16 13:32:01 -04:00
2012-04-06 17:54:53 -07:00
2012-04-09 15:47:49 -04:00
2012-04-12 13:12:12 -07:00
2012-03-29 16:53:48 -07:00
2012-04-05 22:13:39 -07:00
2012-04-06 21:48:59 -04:00
2012-04-10 15:30:16 -07:00
2012-04-06 17:56:20 -07:00
2012-04-04 13:13:18 -06:00
2012-04-12 17:42:01 +01:00
2012-04-05 15:25:50 -07:00
2012-04-03 17:08:28 -07:00
2012-04-10 08:09:03 -07:00
2012-04-05 15:25:50 -07:00
2012-04-02 10:57:31 -07:00
2012-04-12 12:49:07 -07:00
2012-04-05 15:30:34 -07:00
2012-04-02 17:53:39 -07:00
2012-04-12 16:05:06 +10:00
2012-04-11 11:05:34 -07:00
2012-04-05 15:30:34 -07:00
2012-04-05 15:30:34 -07:00
2012-04-05 20:32:34 -04:00
2012-04-09 01:38:55 -04:00
2012-04-19 13:25:03 -04:00
2012-04-05 15:25:50 -07:00
2012-04-06 17:54:53 -07:00
2012-03-29 16:00:48 -07:00
2012-03-30 16:45:39 -07:00
2012-03-30 16:45:39 -07:00
2012-03-30 16:09:02 -07:00
2012-04-10 10:26:41 -07:00
2012-04-05 15:25:50 -07:00
2012-04-12 13:12:12 -07:00
2012-04-05 15:30:34 -07:00
2012-03-30 00:09:17 -07:00
2012-04-05 15:30:34 -07:00
2012-04-09 20:48:44 -07:00
2012-04-06 18:57:05 -07:00
2012-04-07 09:52:46 -07:00
2012-04-05 22:13:39 -07:00
2012-04-05 15:25:50 -07:00
2012-04-13 13:09:19 -04:00
2012-04-05 22:13:39 -07:00
2012-03-31 08:09:51 +05:30
2012-03-29 18:02:10 -07:00
2012-04-06 17:54:53 -07:00
2012-04-02 09:50:40 -07:00
2012-04-02 09:50:40 -07:00