rose: Fix rose_getname() leak
commitee1c46ccd19074a06393567644144287458e8337
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 6 Aug 2009 03:34:06 +0000 (6 03:34 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Sep 2009 03:17:44 +0000 (8 20:17 -0700)
tree6f6b2812e3dd68bed0d02b9c89ef7c7abd7af359
parent8338941200d9188e3c866dd16cc2848754947895
rose: Fix rose_getname() leak

commit 17ac2e9c58b69a1e25460a568eae1b0dc0188c25 upstream.

rose_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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/rose/af_rose.c