Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 23 Aug 2020 23:31:32 +0200
From: Daniel Neri <dne+musl@...7.eu>
To: musl@...ts.openwall.com
Subject: Incompatible behaviour of res_query(3) w.r.t. NXDOMAIN

  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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.