Your message dated Sun, 05 Oct 2008 19:52:20 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#499277: fixed in python-dns 2.3.0-5.2+etch2
has caused the Debian Bug report #499277,
regarding python-dns security update breaks existing applications
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
499277: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499277
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: python-dns
Version: 2.3.0-5.2+etch1
Severity: grave
Justification: breaks existing applications

Hello,

after upgrading our production servers running Zope 3, we started hitting
the following exception:

2008-09-17T06:06:57 ERROR SiteError http://www.loveismatch.com/signup.html
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/zope/publisher/publish.py", line 133, 
in publish
    result = publication.callObject(request, obj)
  File 
"/usr/lib/python2.4/site-packages/zope/app/publication/zopepublication.py", 
line 161, in callObject
    return mapply(ob, request.getPositionalArguments(), request)
  File "/usr/lib/python2.4/site-packages/zope/publisher/publish.py", line 108, 
in mapply
    return debug_call(obj, args)
   - __traceback_info__: <bound method UserRegistration.__call__ of 
<zope.app.publisher.browser.viewmeta.UserRegistration object at 0x2aaaabf9c610>>
  File "/usr/lib/python2.4/site-packages/zope/publisher/publish.py", line 114, 
in debug_call
    return obj(*args)
  File 
"/var/lib/zope3/instance/loveismatch_3/lib/python/loveismatch/browser/users.py",
 line 114, in __call__
    validators.Email(resolve_domain=True).to_python(values['email'])
  File "/usr/lib/python2.4/site-packages/formencode/api.py", line 322, in 
to_python
    vp(value, state)
  File "/usr/lib/python2.4/site-packages/formencode/validators.py", line 1227, 
in validate_python
    domains = mxlookup(splitted[1])
  File "/var/lib/python-support/python2.4/DNS/lazy.py", line 26, in mxlookup
    a = Base.DnsRequest(name, qtype = 'mx').req().answers
  File "/var/lib/python-support/python2.4/DNS/Base.py", line 191, in req
    m.addQuestion(qname, qtype, Class.IN)
  File "/var/lib/python-support/python2.4/DNS/Lib.py", line 466, in addQuestion
    self.addname(qname)
  File "/var/lib/python-support/python2.4/DNS/Lib.py", line 133, in addname
    self.buf = self.buf + buf
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 0: ordinal 
not in range(128)


As you can see, I'm using formencode to validate an e-mail address with the
following instruction:

    validators.Email(resolve_domain=True).to_python(values['email'])

It worked for years, and just stopped working after the upgrade. Reverting to
the old package (version 2.3.0-5.1) fixed the problem.

Thanks,

-- 
Fabio Tranchitella                         http://www.kobold.it
Free Software Developer and Consultant     http://www.tranchitella.it
_____________________________________________________________________
1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564



--- End Message ---
--- Begin Message ---
Source: python-dns
Source-Version: 2.3.0-5.2+etch2

We believe that the bug you reported is fixed in the latest version of
python-dns, which is due to be installed in the Debian FTP archive:

python-dns_2.3.0-5.2+etch2.diff.gz
  to pool/main/p/python-dns/python-dns_2.3.0-5.2+etch2.diff.gz
python-dns_2.3.0-5.2+etch2.dsc
  to pool/main/p/python-dns/python-dns_2.3.0-5.2+etch2.dsc
python-dns_2.3.0-5.2+etch2_all.deb
  to pool/main/p/python-dns/python-dns_2.3.0-5.2+etch2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Devin Carraway <[EMAIL PROTECTED]> (supplier of updated python-dns package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 21 Sep 2008 22:32:41 -0700
Source: python-dns
Binary: python-dns
Architecture: source all
Version: 2.3.0-5.2+etch2
Distribution: stable-security
Urgency: high
Maintainer: Joerg Wendland <[EMAIL PROTECTED]>
Changed-By: Devin Carraway <[EMAIL PROTECTED]>
Description: 
 python-dns - pydns - DNS client module for Python
Closes: 499277
Changes: 
 python-dns (2.3.0-5.2+etch2) stable-security; urgency=high
 .
   * Non-maintainer upload by the security team; thanks (again) to Scott
     Kitterman for preparing the fix
   * Modify DNS/Lib.py so unicode DNS names don't cause a crash
     (Closes: #499277)
   * Update DNS/Base.py changes for #490217 to more robust upstream fix
Files: 
 16b84a9d56bdd4baf5cdf1bf7e413521 695 python optional 
python-dns_2.3.0-5.2+etch2.dsc
 4c9dceefe0dfc4ee933f3c9298764153 3807 python optional 
python-dns_2.3.0-5.2+etch2.diff.gz
 59775332c3bb11b1408c83cf25b8e253 22972 python optional 
python-dns_2.3.0-5.2+etch2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFI1zQyU5XKDemr/NIRAtjNAKDyCDJ0owBDt0edASs1Bujcs1MTqgCeL0zH
aSgf5XkYZpTG8ivENoSr0ho=
=CARX
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to