]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2050. [bug] Parsing of NSAP records was not case insensitive.
authorMark Andrews <marka@isc.org>
Thu, 20 Jul 2006 03:26:56 +0000 (03:26 +0000)
committerMark Andrews <marka@isc.org>
Thu, 20 Jul 2006 03:26:56 +0000 (03:26 +0000)
                        [RT #16287]

CHANGES
lib/dns/rdata.c

diff --git a/CHANGES b/CHANGES
index e99660f7bb874eaad06d0e6b1b69bf85b6de428a..8b8a96d740ea982acdc828fbc4891777f75e658d 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2050.  [bug]           Parsing of NSAP records was not case insensitive.
+                       [RT #16287]
+
 2049.  [bug]           Restore SOA before AXFR when falling back from
                        a attempted IXFR when transfering in a zone.
                        Allow a initial SOA query before attempting
index 28ed12fe40e1f99b4c9170feddad68070269c64f..b4933a0b8111ec2250a5966686579e13e10ba516 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rdata.c,v 1.184.18.7 2005/07/22 05:30:00 marka Exp $ */
+/* $Id: rdata.c,v 1.184.18.8 2006/07/20 03:26:56 marka Exp $ */
 
 /*! \file */
 
@@ -1272,7 +1272,7 @@ hexvalue(char value) {
                return (-1);
        if (isupper(c))
                c = tolower(c);
-       if ((s = strchr(hexdigits, value)) == NULL)
+       if ((s = strchr(hexdigits, c)) == NULL)
                return (-1);
        return (s - hexdigits);
 }