rpms/pdns/F-8 pdns-bz461768.patch,NONE,1.1 pdns.spec,1.8,1.9
Ruben Kerkhof
ruben at fedoraproject.org
Fri Sep 12 13:56:56 UTC 2008
Author: ruben
Update of /cvs/pkgs/rpms/pdns/F-8
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1344
Modified Files:
pdns.spec
Added Files:
pdns-bz461768.patch
Log Message:
* Fri Sep 12 2008 Ruben Kerkhof <ruben at rubenkerkhof.com> 2.9.21.1-2
- Fix handling of AAAA records (bz #461768)
pdns-bz461768.patch:
--- NEW FILE pdns-bz461768.patch ---
Index: /trunk/pdns/pdns/packethandler.cc
===================================================================
--- /trunk/pdns/pdns/packethandler.cc (revision 1079)
+++ /trunk/pdns/pdns/packethandler.cc (revision 1081)
@@ -399,6 +399,8 @@
}
}
- if(hits && !found && !rfound && shortcut ) // we found matching qnames but not a qtype
+ if(hits && !found && !rfound && shortcut ) { // we found matching qnames but not a qtype
+ DLOG(L<<"Found matching qname, but not the qtype"<<endl);
return 2;
+ }
if(rfound)
@@ -654,4 +656,5 @@
if(mret==2) { // there is some data, but not of the correct type
+ r->clearRecords();
DLOG(L<<"There is some data, but not of the correct type, adding SOA for NXRECORDSET"<<endl);
SOAData sd;
@@ -696,5 +699,4 @@
}
}
-
noSameLevelNS=true;
@@ -739,5 +741,5 @@
// not found yet, try wildcards (we only try here in case of recursion - we should check before we hand off)
- if(p->d.rd && d_doRecursion && d_doWildcards) {
+ if(mret != 2 && p->d.rd && d_doRecursion && d_doWildcards) {
int res=doWildcardRecords(p,r,target);
if(res) { // had a result
Index: pdns.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pdns/F-8/pdns.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- pdns.spec 6 Aug 2008 13:36:59 -0000 1.8
+++ pdns.spec 12 Sep 2008 13:56:26 -0000 1.9
@@ -1,7 +1,7 @@
Summary: A modern, advanced and high performance authoritative-only nameserver
Name: pdns
Version: 2.9.21.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Group: System Environment/Daemons
License: GPLv2
@@ -11,6 +11,7 @@
Patch0: %{name}-fixinit.patch
Patch1: %{name}-avoid-version.patch
Patch2: %{name}-gcc43.patch
+Patch3: %{name}-bz461768.patch
Requires(post): %{_sbindir}/useradd, /sbin/chkconfig
Requires(preun): /sbin/service, /sbin/chkconfig
@@ -84,6 +85,7 @@
%patch0 -p1 -b .fixinit
%patch1 -p1 -b .avoid-version
%patch2 -p1
+%patch3 -p3
%build
export CPPFLAGS="-DLDAP_DEPRECATED %{optflags}"
@@ -183,6 +185,9 @@
%changelog
+* Fri Sep 12 2008 Ruben Kerkhof <ruben at rubenkerkhof.com> 2.9.21.1-2
+- Fix handling of AAAA records (bz #461768)
+
* Wed Aug 06 2008 Ruben Kerkhof <ruben at rubenkerkhof.com> 2.9.21.1-1
- CVE-2008-3337
More information about the fedora-extras-commits
mailing list