Eric Dumazet 0c27922e49 net: dev_addr_init() fix
commit f001fde5eadd915f4858d22ed70d7040f48767cf
(net: introduce a list of device addresses dev_addr_list (v6))
added one regression Vegard Nossum found in its testings.

With kmemcheck help, Vegard found some uninitialized memory
was read and reported to user, potentialy leaking kernel data.
( thread can be found on http://lkml.org/lkml/2009/5/30/177 )

dev_addr_init() incorrectly uses sizeof() operator. We were
initializing one byte instead of MAX_ADDR_LEN bytes.

Reported-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-06-09 05:11:42 -07:00
..
2009-05-25 01:53:53 -07:00
2009-05-29 22:12:32 -07:00
2009-06-03 02:51:04 -07:00
2009-04-20 02:14:59 -07:00
2009-06-03 02:51:04 -07:00
2009-06-09 05:11:42 -07:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2009-05-29 22:12:32 -07:00
2009-05-25 01:53:53 -07:00
2009-04-23 06:37:16 -07:00
2009-06-03 02:51:04 -07:00
2009-04-22 00:49:51 -07:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2009-03-31 23:00:26 -04:00
2009-06-04 10:58:15 -04:00
2009-02-26 23:43:35 -08:00