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

CHANGES
lib/dns/rdata.c

diff --git a/CHANGES b/CHANGES
index daad2bb4312e5a37607c2335acfe4cb5d7e0f272..da1782ea29d297a704a55bf597b88cfae24b8af6 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2050.  [bug]           Parsing of NSAP records was not case insensitive.
+                       [RT #16287]
+
 2043.  [port]          nsupdate/nslookup: Force the flushing of the prompt
                        for interactive sessions. [RT#16148]
 
index 76d7008c671be0d16c0c6b493c43232942da773f..0089f1e61967fbf88563605ea2ab1b2f5904bde5 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rdata.c,v 1.147.2.16 2005/07/22 05:26:44 marka Exp $ */
+/* $Id: rdata.c,v 1.147.2.17 2006/07/20 03:24:59 marka Exp $ */
 
 #include <config.h>
 #include <ctype.h>
@@ -1659,7 +1659,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);
 }