resolv: More precise checks in res_hnok, res_dnok [BZ #22409] [BZ #22412]
authorFlorian Weimer <fweimer@redhat.com>
Sat, 11 Nov 2017 10:51:08 +0000 (11:51 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Sat, 11 Nov 2017 10:51:08 +0000 (11:51 +0100)
commitc0a25aa92b612786f4e45292c4aee1d7d47123f8
tree484996008ac28bfeba4d327994b652c32252c42c
parent9e0ad3049dbae88d615bfb038e53bf365a39a634
resolv: More precise checks in res_hnok, res_dnok [BZ #22409] [BZ #22412]

res_hnok rejected some host names used on the Internet, such as
www-.example.com.  res_hnok and res_dnok failed to perform basic syntax
checking on DNS domain names.

Also fix res_mailok, res_ownok.
ChangeLog
NEWS
resolv/res_comp.c
resolv/tst-res_hnok.c