Re: [PATCH v3] sctp: fully initialize the IPv6 address in sctp_v6_to_addr()

2017-08-18 Thread David Miller
From: Alexander Potapenko Date: Wed, 16 Aug 2017 20:16:40 +0200 > KMSAN reported use of uninitialized sctp_addr->v4.sin_addr.s_addr and > sctp_addr->v6.sin6_scope_id in sctp_v6_cmp_addr() (see below). > Make sure all fields of an IPv6 address are initialized, which > guarantees that the IPv4 fiel

[PATCH v3] sctp: fully initialize the IPv6 address in sctp_v6_to_addr()

2017-08-16 Thread Alexander Potapenko
KMSAN reported use of uninitialized sctp_addr->v4.sin_addr.s_addr and sctp_addr->v6.sin6_scope_id in sctp_v6_cmp_addr() (see below). Make sure all fields of an IPv6 address are initialized, which guarantees that the IPv4 fields are also initialized.