diff options
author | 2018-10-15 11:31:11 +0000 | |
---|---|---|
committer | 2018-10-15 11:31:11 +0000 | |
commit | 7cda49b36ee830adc8827180c176e6d95a121f18 (patch) | |
tree | 3feca4c48924ee4f161c027cc07a654fc59f21df /lib/libc | |
parent | struct sockaddr_storage is guaranteed to be large enough, no need to check (diff) | |
download | wireguard-openbsd-7cda49b36ee830adc8827180c176e6d95a121f18.tar.xz wireguard-openbsd-7cda49b36ee830adc8827180c176e6d95a121f18.zip |
No need to check ai_addrlen when we already checked ai_family, we
are copying into the right sized struct.
We can also trust the resolver to give us IPv6 if we ask it to.
OK kn, deraadt
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions