summaryrefslogtreecommitdiffstats
path: root/net/econet/af_econet.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2009-08-18 23:37:37 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2009-08-18 23:37:37 +0200
commitaf15c1addf920d830b030e3489a482456904ca8c (patch)
treedc4adab63d19507f7ac44855ad9920f8fd2dd2f0 /net/econet/af_econet.c
parente6f25a7b2398581a5f96bf9021d0b22c9647acf4 (diff)
parentdcd94dbdaff452b95d4ba11fdbf853b5bda8e6e7 (diff)
Merge branch 'master' into for-linus
Diffstat (limited to 'net/econet/af_econet.c')
-rw-r--r--net/econet/af_econet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/econet/af_econet.c b/net/econet/af_econet.c
index 2e1f836d424..f0bbc57926c 100644
--- a/net/econet/af_econet.c
+++ b/net/econet/af_econet.c
@@ -520,6 +520,7 @@ static int econet_getname(struct socket *sock, struct sockaddr *uaddr,
if (peer)
return -EOPNOTSUPP;
+ memset(sec, 0, sizeof(*sec));
mutex_lock(&econet_mutex);
sk = sock->sk;