[Python-modules-commits] r6535 - in packages/python-dns/trunk/debian (2 files)

kitterma-guest at users.alioth.debian.org kitterma-guest at users.alioth.debian.org
Wed Sep 17 17:33:50 UTC 2008


    Date: Wednesday, September 17, 2008 @ 17:33:49
  Author: kitterma-guest
Revision: 6535

2.3.3-2:
  * Add unicode-fix.patch so unicode DNS names don't cause a crash
    (Closes: #499277)

Added:
  packages/python-dns/trunk/debian/patches/unicode-fix.patch
Modified:
  packages/python-dns/trunk/debian/changelog

Modified: packages/python-dns/trunk/debian/changelog
===================================================================
--- packages/python-dns/trunk/debian/changelog	2008-09-17 06:50:48 UTC (rev 6534)
+++ packages/python-dns/trunk/debian/changelog	2008-09-17 17:33:49 UTC (rev 6535)
@@ -1,3 +1,10 @@
+python-dns (2.3.3-2) unstable; urgency=medium
+
+  * Add unicode-fix.patch so unicode DNS names don't cause a crash
+    (Closes: #499277)
+
+ -- Scott Kitterman <scott at kitterman.com>  Wed, 17 Sep 2008 13:13:59 -0400
+
 python-dns (2.3.3-1) unstable; urgency=low
 
   * New upstream release (Closes: #493519)

Added: packages/python-dns/trunk/debian/patches/unicode-fix.patch
===================================================================
--- packages/python-dns/trunk/debian/patches/unicode-fix.patch	                        (rev 0)
+++ packages/python-dns/trunk/debian/patches/unicode-fix.patch	2008-09-17 17:33:49 UTC (rev 6535)
@@ -0,0 +1,11 @@
+diff -Nur -x '*.orig' -x '*~' python-dns-2.3.3/DNS/Lib.py python-dns-2.3.3.new/DNS/Lib.py
+--- python-dns-2.3.3/DNS/Lib.py	2007-05-22 16:27:40.000000000 -0400
++++ python-dns-2.3.3.new/DNS/Lib.py	2008-09-17 13:13:25.000000000 -0400
+@@ -94,6 +94,7 @@
+         list = []
+         for label in string.splitfields(name, '.'):
+             if label:
++                label = label.encode('utf8')
+                 if len(label) > 63:
+                     raise PackError, 'label too long'
+                 list.append(label)




More information about the Python-modules-commits mailing list