Thread (2 messages) read the whole thread 2 messages, 2 authors, 2018-06-11

Re: [PATCH net] net/ipv6: Ensure cfg is properly initialized in ipv6_create_tempaddr

From: David Miller <davem@davemloft.net>
Date: 2018-06-11 23:39:30

From: dsahern@kernel.org
Date: Mon, 11 Jun 2018 07:12:12 -0700
From: David Ahern <redacted>

Valdis reported a BUG in ipv6_add_addr:
 ...
Looking at the code I found 1 element (peer_pfx) of the newly introduced
ifa6_config struct that is not initialized. Use a memset rather than hard
coding an init for each struct element.

Reported-by: Valdis Kletnieks <redacted>
Fixes: e6464b8c63619 ("net/ipv6: Convert ipv6_add_addr to struct ifa6_config")
Signed-off-by: David Ahern <redacted>
Applied, thanks David.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help