Bugzilla – Attachment 42388 Details for
Bug 96976
VUL-0: CVE-2005-2302: pdns LDAP backend bugs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
pdns-2.9.17-recursor.patch
pdns-2.9.17-recursor.patch (text/plain), 1.16 KB, created by
Vladimir Nadvornik
on 2005-07-18 11:33:58 UTC
(
hide
)
Description:
pdns-2.9.17-recursor.patch
Filename:
MIME Type:
Creator:
Vladimir Nadvornik
Created:
2005-07-18 11:33:58 UTC
Size:
1.16 KB
patch
obsolete
>--- pdns/packethandler.cc >+++ pdns/packethandler.cc >@@ -558,7 +558,8 @@ > bool found=false; > > string target=p->qdomain; >- >+ bool noCache=false; >+ > if (doDNSCheckRequest(p, r, target)) > goto sendit; > >@@ -667,11 +668,15 @@ > else > weAuth=false; > >- if(p->d.rd && d_doRecursion && !weAuth && DP->sendPacket(p)) { >- delete r; >- return 0; >- } > >+ if(p->d.rd && d_doRecursion && !weAuth) { >+ if(DP->sendPacket(p)) { >+ delete r; >+ return 0; >+ } >+ else noCache=true; >+ } >+ > string::size_type pos; > > DLOG(L<<"Nothing found so far for '"<<target<<"', do we even have authority over this domain?"<<endl); >@@ -779,16 +784,12 @@ > // whatever we've built so far, do additional processing > > sendit:; >- > if(doAdditionalProcessingAndDropAA(p,r)<0) > return 0; > >- >- >- >- > r->wrapup(); // needed for inserting in cache >- PC.insert(p,r); // in the packet cache >+ if(!noCache) >+ PC.insert(p,r); // in the packet cache > } > catch(DBException &e) { > L<<Logger::Error<<"Database module reported condition which prevented lookup - sending out servfail"<<endl;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 96976
:
42387
| 42388