FreeBSD Bugzilla – Attachment 169232 Details for
Bug 208725
[PATCH] dns/powerdns: Fix build with libc++ 3.8.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Replace suggested patch with commit from upstream
patch-pdns_dnspacket.cc (text/plain), 714 bytes, created by
Ralf van der Enden
on 2016-04-12 07:10:06 UTC
(
hide
)
Description:
Replace suggested patch with commit from upstream
Filename:
MIME Type:
Creator:
Ralf van der Enden
Created:
2016-04-12 07:10:06 UTC
Size:
714 bytes
patch
obsolete
>--- pdns/dnspacket.cc.orig 2015-11-02 10:33:21 UTC >+++ pdns/dnspacket.cc >@@ -641,9 +641,9 @@ bool checkForCorrectTSIG(const DNSPacket > string message; > > q->getTSIGDetails(trc, keyname, &message); >- uint64_t now = time(0); >- if(abs(trc->d_time - now) > trc->d_fudge) { >- L<<Logger::Error<<"Packet for '"<<q->qdomain<<"' denied: TSIG (key '"<<*keyname<<"') time delta "<< abs(trc->d_time - now)<<" > 'fudge' "<<trc->d_fudge<<endl; >+ uint64_t delta = std::abs((int64_t)trc->d_time - (int64_t)time(0)); >+ if(delta > trc->d_fudge) { >+ L<<Logger::Error<<"Packet for '"<<q->qdomain<<"' denied: TSIG (key '"<<*keyname<<"') time delta "<< delta <<" > 'fudge' "<<trc->d_fudge<<endl; > return false; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
tremere
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 208725
:
169220
| 169232