From: Eric Dumazet Date: Thu, 6 Aug 2009 20:27:04 +0000 (+0000) Subject: can: Fix raw_getname() leak X-Git-Tag: v2.6.27.32~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbe5cbd01823805a7cbba06b043c19b559e324c4;p=pandora-kernel.git can: Fix raw_getname() leak commit e84b90ae5eb3c112d1f208964df1d8156a538289 upstream. raw_getname() can leak 10 bytes of kernel memory to user (two bytes hole between can_family and can_ifindex, 8 bytes at the end of sockaddr_can structure) Signed-off-by: Eric Dumazet Acked-by: Oliver Hartkopp Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed