[PATCH v2] resolv: Add test for getaddrinfo returning FQDN in ai_canonname
Florian Weimer
fweimer@redhat.com
Wed Jun 4 08:11:02 GMT 2025
* Sergey Kolosov:
> Test for BZ #15218. This test verifies that getaddrinfo returns a
> fully-qualified domain name in the ai_canonname field then
> AI_CANONNAME is set and search domains apply.
> ---
> Changes from v1:
> 1. Reworded test comment to reference BZ #15218
> 2. Fixed style issues
> 3. Compare expected and recieved canonname in query_host()
>
> This test reproduces the failure from BZ #15218 when run against a
> glibc version before the fix.
This looks okay to me.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Thanks,
Florian
More information about the Libc-alpha
mailing list