mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] Incompatible behaviour of res_query(3) w.r.t. NXDOMAIN
@ 2020-08-23 21:31 Daniel Neri
  2020-08-24 16:16 ` Rich Felker
  0 siblings, 1 reply; 13+ messages in thread
From: Daniel Neri @ 2020-08-23 21:31 UTC (permalink / raw)
  To: musl

  Hello,


Musl’s res_query(3) returns success for a query that results in an NXDOMAIN response, which disagrees with other common implementations.

Simple test case: https://t.rb67.eu/res_query.c

On Debian Linux, OpenBSD and FreeBSD this program prints:

  error: Unknown host

but on Alpine Linux edge (musl v1.2.1):

  success (size 91)



Best regards,
Daniel


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-08-25 13:56 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-23 21:31 [musl] Incompatible behaviour of res_query(3) w.r.t. NXDOMAIN Daniel Neri
2020-08-24 16:16 ` Rich Felker
2020-08-24 16:43   ` Rich Felker
2020-08-24 20:39     ` Daniel Neri
2020-08-24 21:36       ` Rich Felker
2020-08-24 21:04     ` Florian Weimer
2020-08-24 21:32       ` Rich Felker
2020-08-24 21:51         ` Daniel Neri
2020-08-24 22:09           ` Rich Felker
2020-08-25  3:26             ` Rich Felker
2020-08-25 13:56               ` Daniel Neri
2020-08-24 22:04         ` Florian Weimer
2020-08-24 22:13           ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).