summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared H.Hudson <jhhudso@gentoo.org>2005-02-12 11:35:41 +0000
committerJared H.Hudson <jhhudso@gentoo.org>2005-02-12 11:35:41 +0000
commitc24defa9d3c87e163841c977cd5996487f116e74 (patch)
tree93a4da3b295796ea49813479051ae8f4f1276677 /net-dns/pdns/files
parentVersion bump. (diff)
downloadgentoo-2-c24defa9d3c87e163841c977cd5996487f116e74.tar.gz
gentoo-2-c24defa9d3c87e163841c977cd5996487f116e74.tar.bz2
gentoo-2-c24defa9d3c87e163841c977cd5996487f116e74.zip
Bumped pdns to 2.9.17 and marked stable due to DOS vulnerability reported in bug #80713
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-dns/pdns/files')
-rw-r--r--net-dns/pdns/files/digest-pdns-2.9.171
-rw-r--r--net-dns/pdns/files/pdns-2.9.17-amd64-fix.diff42
2 files changed, 43 insertions, 0 deletions
diff --git a/net-dns/pdns/files/digest-pdns-2.9.17 b/net-dns/pdns/files/digest-pdns-2.9.17
new file mode 100644
index 000000000000..3d129e600343
--- /dev/null
+++ b/net-dns/pdns/files/digest-pdns-2.9.17
@@ -0,0 +1 @@
+MD5 92489391182dc40012f1de7b2005ea93 pdns-2.9.17.tar.gz 782592
diff --git a/net-dns/pdns/files/pdns-2.9.17-amd64-fix.diff b/net-dns/pdns/files/pdns-2.9.17-amd64-fix.diff
new file mode 100644
index 000000000000..18a247eea6e3
--- /dev/null
+++ b/net-dns/pdns/files/pdns-2.9.17-amd64-fix.diff
@@ -0,0 +1,42 @@
+diff -ur pdns-2.9.17.orig/pdns/logger.cc pdns-2.9.17/pdns/logger.cc
+--- pdns-2.9.17.orig/pdns/logger.cc 2004-09-13 13:55:07.000000000 -0500
++++ pdns-2.9.17/pdns/logger.cc 2005-02-12 04:01:13.828334456 -0600
+@@ -131,6 +131,25 @@
+ return *this;
+ }
+
++Logger& Logger::operator<<(unsigned long i)
++{
++ ostringstream tmp;
++ tmp<<i;
++
++ *this<<tmp.str();
++
++ return *this;
++}
++
++Logger& Logger::operator<<(long i)
++{
++ ostringstream tmp;
++ tmp<<i;
++
++ *this<<tmp.str();
++
++ return *this;
++}
+
+ Logger& Logger::operator<<(ostream & (&)(ostream &))
+ {
+diff -ur pdns-2.9.17.orig/pdns/logger.hh pdns-2.9.17/pdns/logger.hh
+--- pdns-2.9.17.orig/pdns/logger.hh 2004-09-13 13:54:44.000000000 -0500
++++ pdns-2.9.17/pdns/logger.hh 2005-02-12 04:02:32.779332080 -0600
+@@ -110,7 +110,9 @@
+ */
+ Logger& operator<<(const string &s); //!< log a string
+ Logger& operator<<(int); //!< log an int
++ Logger& operator<<(long); //!< log an long
+ Logger& operator<<(unsigned int); //!< log an unsigned int
++ Logger& operator<<(unsigned long); //!< log an unsigned long
+ Logger& operator<<(Urgency); //!< set the urgency, << style
+
+ #ifndef WIN32