Expected outcome of passing null *name ptr to ares_getaddrinfo()

Cristian Rodríguez cristian at rodriguez.im
Thu Mar 14 19:35:34 CET 2024


On Thu, Mar 14, 2024 at 3:37 AM Carson Vandegriffe via c-ares
<c-ares at lists.haxx.se> wrote:
>
> Hi all,
>
> I've been working on an effort to override some (libc) getaddrinfo()

It is  POSIX that you have to quote.. not the libc manual..

"If nodename is not null, the requested service location is named by
nodename; otherwise, the requested service location is local to the
caller."

It is a bug whatever interpretation is made.. fill a bug report.


More information about the c-ares mailing list