Nameservers in router advertisements are struct in6_addr, not
authorflorian <florian@openbsd.org>
Sun, 20 Feb 2022 19:18:16 +0000 (19:18 +0000)
committerflorian <florian@openbsd.org>
Sun, 20 Feb 2022 19:18:16 +0000 (19:18 +0000)
commit997c6a4aecd34f2a5308d487eb77234a68f9781f
tree5affbf18533b24ac9871148b4213a477e6c66014
parent7cbc902d6f02752ddfdbed2f2538031e42ee85fc
Nameservers in router advertisements are struct in6_addr, not
struct sockaddr_in6. Copy the right amount of data so that we don't
overflow the destination and potentially crash when we receive more
than 7 nameservers.

This is going to be 7.0 errata 014.

OK deraadt
sbin/slaacd/engine.c