]> 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:21:10 +0000 (03:21 +0000)
committerMark Andrews <marka@isc.org>
Thu, 20 Jul 2006 03:21:10 +0000 (03:21 +0000)
                        [RT #16287]

CHANGES
lib/dns/rdata.c

diff --git a/CHANGES b/CHANGES
index 8ec9c9af80c88cc6a826b4685e33cd645ff27a08..34fc577cbe0b9721567c04629bca2293ac3646e1 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 a6d1addf2eb2f3e257657176003f0f72f063acfc..8b46d04acfedec771ca800a08959e7f0b27b6f7f 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rdata.c,v 1.191 2005/07/22 05:31:01 marka Exp $ */
+/* $Id: rdata.c,v 1.192 2006/07/20 03:21:10 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);
 }