[PATCH] resolv: AAAA (28) is valid, no fallthrough to default
Andreas K. Huettel
dilfridge@gentoo.org
Thu Jan 10 13:47:00 GMT 2019
Am Donnerstag, 10. Januar 2019, 12:00:08 CET schrieb Florian Weimer:
> * Andreas K. Hüttel:
> > The test resolv/tst-resolv-ai_idn-nolibidn2 kept failing, with the
> > puzzling
> > output "invalid qtype: 28". Puzzling since 28 is an AAAA record.
> > Turns out the switch statement is missing a break, so the "T_AAAA" case
> > continues with "default".
>
> The change is obviously correct. I will commit it for you.
>
> However, how do you encounter this issue? Did you change some test?
> The current IDN tests do not actually send AAAA queries, I think.
>
> Thanks,
> Florian
That's a puzzling question indeed. I didnt change anything with the test
suite; the code is ~ tip of 2.28 release branch (plus few Gentoo-specific
patches).
The only Gentoo-specific commit which could be relevant is that we revert
8479f23aa1d5e5477a37f46823856bdafaedfa46 ("sysdeps/posix/getaddrinfo.c
(gaih_inet): Only use gethostbyname4_r ..."). For the background see
https://bugs.gentoo.org/600632
--
Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer
(council, toolchain, base-system, perl, libreoffice)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20190110/bad4bbeb/attachment.sig>
More information about the Libc-alpha
mailing list