The Samba-Bugzilla – Bug 11477
getaddrinfo ignores AI_NUMERICHOST and unilaterally calls libc_getaddrinfo
Last modified: 2015-11-20 11:56:07 UTC
The getaddrinfo wrapper ignores AI_NUMERICHOST, and while it does use the libc getaddrinfo() to avoid doing the parsing manually, it should only be done if hints.flags includes AI_NUMERICHOST.
Could you provide your test case or part of code please?
Created attachment 11414 [details]
Please ignore previous comment. Sorry for noise.
Proposed patch. Could somebody review it please?
Created attachment 11415 [details]
Proposed patch v2
Proposed patch v2.
Just minor cleanup in test case.
Robin, is this patch still valid for the current master tree? If yes, please rebase it.
New proposed patch rebased against master is here:
nss_wrapper-1.1.0 has been released addressing the issue.