git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: fix a kernel infoleak in x25 module
[pandora-kernel.git]
/
net
/
x25
/
x25_facilities.c
diff --git
a/net/x25/x25_facilities.c
b/net/x25/x25_facilities.c
index
36384a1
..
887749c
100644
(file)
--- a/
net/x25/x25_facilities.c
+++ b/
net/x25/x25_facilities.c
@@
-271,6
+271,7
@@
int x25_negotiate_facilities(struct sk_buff *skb, struct sock *sk,
memset(&theirs, 0, sizeof(theirs));
memcpy(new, ours, sizeof(*new));
+ memset(dte, 0, sizeof(*dte));
len = x25_parse_facilities(skb, &theirs, dte, &x25->vc_facil_mask);
if (len < 0)