summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2018-10-15 11:31:11 +0000
committerflorian <florian@openbsd.org>2018-10-15 11:31:11 +0000
commit7cda49b36ee830adc8827180c176e6d95a121f18 (patch)
tree3feca4c48924ee4f161c027cc07a654fc59f21df /lib/libc
parentstruct sockaddr_storage is guaranteed to be large enough, no need to check (diff)
downloadwireguard-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