diff options
Diffstat (limited to 'kernel/net/x25/x25_facilities.c')
-rw-r--r-- | kernel/net/x25/x25_facilities.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/net/x25/x25_facilities.c b/kernel/net/x25/x25_facilities.c index 7ecd04c21..997ff7b25 100644 --- a/kernel/net/x25/x25_facilities.c +++ b/kernel/net/x25/x25_facilities.c @@ -277,6 +277,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) |