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

CHANGES
lib/dns/rdata.c

diff --git a/CHANGES b/CHANGES
index 5dd2746cdfb74d6a0b90b27035aec74b0a653440..1c7a1e3e59d40eaa70f03ee115512073203727aa 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 1b3f2a51c13ae5e7e5b5c372eb0a3cb390bb2c80..852d44742629f2b88ec6c4ceae05550ac9d57ee8 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rdata.c,v 1.147.2.11.2.20 2005/07/22 05:27:52 marka Exp $ */
+/* $Id: rdata.c,v 1.147.2.11.2.21 2006/07/20 03:26:09 marka Exp $ */
 
 #include <config.h>
 #include <ctype.h>
@@ -1266,7 +1266,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);
 }