X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=net%2Fx25%2Fx25_facilities.c;h=887749c8054d7738ced5d9872688370a3e0d2e12;hp=36384a1fa9f28a3316dd28079b2bc04fce25a0fa;hb=132c5255a23f505ffefe03cfc1f01ee9c82f3e09;hpb=68d99b2c8efcb6ed3807a55569300c53b5f88be5 diff --git a/net/x25/x25_facilities.c b/net/x25/x25_facilities.c index 36384a1fa9f2..887749c8054d 100644 --- 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)