From: Mark Andrews Date: Thu, 20 Jul 2006 03:21:10 +0000 (+0000) Subject: 2050. [bug] Parsing of NSAP records was not case insensitive. X-Git-Tag: v9.4.0b3~49^2~87 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=cbef026164ceabccb2e85403434b722d77f7b5ee;p=thirdparty%2Fbind9.git 2050. [bug] Parsing of NSAP records was not case insensitive. [RT #16287] --- diff --git a/CHANGES b/CHANGES index 8ec9c9af80c..34fc577cbe0 100644 --- 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 diff --git a/lib/dns/rdata.c b/lib/dns/rdata.c index a6d1addf2eb..8b46d04acfe 100644 --- a/lib/dns/rdata.c +++ b/lib/dns/rdata.c @@ -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); }