projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd4baaa
)
appletalk: info leak in ->getname()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Mon, 22 Apr 2013 20:22:15 +0000
(20:22 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 25 Apr 2013 05:47:58 +0000
(
01:47
-0400)
There is a one byte hole between ->sat_port and ->sat_addr.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/appletalk/ddp.c
patch
|
blob
|
history
diff --git
a/net/appletalk/ddp.c
b/net/appletalk/ddp.c
index 4a141e3cf0760084931246bc8e9f50fac4517c69..ef12839a7cfe55b6ee99b2be667c0cd9fb829f79 100644
(file)
--- a/
net/appletalk/ddp.c
+++ b/
net/appletalk/ddp.c
@@
-1253,7
+1253,7
@@
static int atalk_getname(struct socket *sock, struct sockaddr *uaddr,
goto out;
*uaddr_len = sizeof(struct sockaddr_at);
- memset(&sat
.sat_zero, 0, sizeof(sat.sat_zero
));
+ memset(&sat
, 0, sizeof(sat
));
if (peer) {
err = -ENOTCONN;