]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFstable/11 r304945:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 29 Aug 2016 05:46:35 +0000 (05:46 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 29 Aug 2016 05:46:35 +0000 (05:46 +0000)
commit56de01cf9cfc42fe2da6e0819f797be5c5dfb7a9
treea2424d335b1f206a9afb8ffeb00bffcdfe8623c0
parentd25771634a18fe47610d94f1e938dafeae8f4e9e
MFstable/11 r304945:

MFC r304034:

Initialize `ai` to NULL and test for `ai` with type-appropriate values

Depending on the address family and ai_flags containing AI_V4MAPPED,
it might not do a proper DNS lookup on the provided DNS address

Convert some `ai` boolean true/false checks to NULL/non-NULL while here.

PR: 211790

git-svn-id: svn://svn.freebsd.org/base/stable/10@304982 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/net/getaddrinfo.c