http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499277 Patch is from upstream and is pretty simple: diff -u python-dns-2.3.3/debian/changelog python-dns-2.3.3/debian/changelog --- python-dns-2.3.3/debian/changelog +++ python-dns-2.3.3/debian/changelog @@ -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@kitterman.com> Wed, 17 Sep 2008 13:13:59 -0400 + python-dns (2.3.3-1) unstable; urgency=low * New upstream release (Closes: #493519) only in patch2: unchanged: --- python-dns-2.3.3.orig/debian/patches/unicode-fix.patch +++ python-dns-2.3.3/debian/patches/unicode-fix.patch @@ -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) Please cc me on any replies as I am not subscribed. Scott K
Attachment:
signature.asc
Description: This is a digitally signed message part.