netrom: Fix nr_getname() leak
commitf6b97b29513950bfbf621a83d85b6f86b39ec8db
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 6 Aug 2009 03:31:07 +0000 (6 03:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Aug 2009 20:08:43 +0000 (6 13:08 -0700)
tree6271c640ac365f409ffff31aa1343fd315c42841
parent80922bbb12a105f858a8f0abb879cb4302d0ecaa
netrom: Fix nr_getname() leak

nr_getname() can leak kernel memory to user.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netrom/af_netrom.c