From 40409bfe35cc47ff569d01ab7ea1fc64c4cdfdb5 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 20 Jul 2006 03:26:56 +0000 Subject: [PATCH] 2050. [bug] Parsing of NSAP records was not case insensitive. [RT #16287] --- CHANGES | 3 +++ lib/dns/rdata.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index e99660f7bb..8b8a96d740 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 28ed12fe40..b4933a0b81 100644 --- a/lib/dns/rdata.c +++ b/lib/dns/rdata.c @@ -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); }