commit | 80922bbb12a105f858a8f0abb879cb4302d0ecaa | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Thu Aug 06 03:48:36 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 06 13:08:40 2009 -0700 |
tree | 79037282c1b184d20aaf19c8cbf8a311321926b7 | |
parent | 17ac2e9c58b69a1e25460a568eae1b0dc0188c25 [diff] [blame] |
econet: Fix econet_getname() leak econet_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>
diff --git a/net/econet/af_econet.c b/net/econet/af_econet.c index 2e1f836..f0bbc57 100644 --- a/net/econet/af_econet.c +++ b/net/econet/af_econet.c
@@ -520,6 +520,7 @@ if (peer) return -EOPNOTSUPP; + memset(sec, 0, sizeof(*sec)); mutex_lock(&econet_mutex); sk = sock->sk;