bind9/bin
Michał Kępień b896fc4972 Improve error handling in idn_ace_to_locale()
While idn2_to_unicode_8zlz() takes a 'flags' argument, it is ignored and
thus cannot be used to perform IDN checks on the output string.

The bug in libidn2 versions before 2.0.5 was not that a call to
idn2_to_unicode_8zlz() with certain flags set did not cause IDN checks
to be performed.  The bug was that idn2_to_unicode_8zlz() did not check
whether a conversion can be performed between UTF-8 and the current
locale's character encoding.  In other words, with libidn2 version
2.0.5+, if the current locale's character encoding is ASCII, then
idn2_to_unicode_8zlz() will fail when it is passed any Punycode string
which decodes to a non-ASCII string, even if it is a valid IDNA2008
name.

Rework idn_ace_to_locale() so that invalid IDNA2008 names are properly
and consistently detected for all libidn2 versions and locales.

Update the "idna" system test accordingly.  Add checks for processing a
server response containing Punycode which decodes to an invalid IDNA2008
name.  Fix invalid subtest description.
2018-07-10 14:34:35 +02:00
..
check address win32 build issues 2018-05-22 16:32:21 -07:00
confgen address win32 build issues 2018-05-22 16:32:21 -07:00
delv address win32 build issues 2018-05-22 16:32:21 -07:00
dig Improve error handling in idn_ace_to_locale() 2018-07-10 14:34:35 +02:00
dnssec Enable dns_zoneverify_dnssec() to check whether the zone was signed by a trust anchor 2018-06-28 13:38:39 +02:00
named free rbuf 2018-07-10 14:24:06 +10:00
nsupdate Change isc_random() to be just PRNG, and add isc_nonce_buf() that uses CSPRNG 2018-05-29 22:58:21 +02:00
pkcs11 Remove the OpenSSL PKCS#11 patches - not really needed now 2018-06-13 10:53:21 +02:00
python Remove support for obsoleted ECC-GOST (GOST R 34.11-94) algorithm 2018-06-05 09:14:14 +02:00
rndc prepare 9.13.1 release 2018-06-21 12:31:33 +02:00
tests Improve error handling in idn_ace_to_locale() 2018-07-10 14:34:35 +02:00
tools Change isc_random() to be just PRNG, and add isc_nonce_buf() that uses CSPRNG 2018-05-29 22:58:21 +02:00
win32/BINDInstall address win32 build issues 2018-05-22 16:32:21 -07:00
Makefile.in reduce race risk in parallel builds 2018-03-09 14:12:50 -08:00