Your message dated Fri, 05 Nov 2010 17:02:13 +0000
with message-id <[email protected]>
and subject line Bug#491278: fixed in spambayes 1.0.4-6
has caused the Debian Bug report #491278,
regarding spambayes: sb_filter.py crashes on peculiar subject line
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.)


-- 
491278: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491278
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: spambayes
Version: 1.0.4-5.1
Severity: important


The mail below causes sb_filter to crash with the traceback.

This is a minimal snippet from a real spam email which demonstrated
the problem.

sb_filter.py < bang-spam-clean-minimal 2> bang-spam-clean-minimal-traceback

------------------------------------------------------------
bang-spam-clean-minimal
------------------------------------------------------------
>From kih  Fri Jul 18 08:22:51 2008
Subject: =?UTF8?Q?=5B?=Financial Aid for Govardhan=?UTF8?Q?=5D?=

Nothing
------------------------------------------------------------

------------------------------------------------------------
bang-spam-clean-minimal-traceback
------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/bin/sb_filter.py", line 257, in <module>
    main()
  File "/usr/bin/sb_filter.py", line 248, in main
    action(msg)
  File "/usr/bin/sb_filter.py", line 180, in filter
    return self.h.filter(msg)
  File "/usr/lib/python2.5/site-packages/spambayes/hammie.py", line 109, in 
filter
    prob, clues = self._scoremsg(msg, True)
  File "/usr/lib/python2.5/site-packages/spambayes/hammie.py", line 38, in 
_scoremsg
    return self.bayes.spamprob(tokenize(msg), evidence)
  File "/usr/lib/python2.5/site-packages/spambayes/classifier.py", line 190, in 
chi2_spamprob
    clues = self._getclues(wordstream)
  File "/usr/lib/python2.5/site-packages/spambayes/classifier.py", line 492, in 
_getclues
    for word in Set(wordstream):
  File "/usr/lib/python2.5/sets.py", line 429, in __init__
    self._update(iterable)
  File "/usr/lib/python2.5/sets.py", line 383, in _update
    for element in iterable:
  File "/usr/lib/python2.5/site-packages/spambayes/tokenizer.py", line 1224, in 
tokenize
    for tok in self.tokenize_headers(msg):
  File "/usr/lib/python2.5/site-packages/spambayes/tokenizer.py", line 1316, in 
tokenize_headers
    subjcharsetlist = email.Header.decode_header(x)
  File "/usr/lib/python2.5/email/header.py", line 93, in decode_header
    dec = email.quoprimime.header_decode(encoded)
  File "/usr/lib/python2.5/email/quoprimime.py", line 336, in header_decode
    return re.sub(r'=\w{2}', _unquote_match, s)
  File "/usr/lib/python2.5/re.py", line 150, in sub
    return _compile(pattern, 0).sub(repl, string, count)
  File "/usr/lib/python2.5/email/quoprimime.py", line 324, in _unquote_match
    return unquote(s)
  File "/usr/lib/python2.5/email/quoprimime.py", line 106, in unquote
    return chr(int(s[1:3], 16))
ValueError: invalid literal for int() with base 16: 'Fi'
------------------------------------------------------------


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (70, 'stable'), (50, 'unstable'), (10, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-rc5-ncw1 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages spambayes depends on:
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-central                0.6.7      register and build utility for Pyt

spambayes recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: spambayes
Source-Version: 1.0.4-6

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

spambayes_1.0.4-6.debian.tar.gz
  to main/s/spambayes/spambayes_1.0.4-6.debian.tar.gz
spambayes_1.0.4-6.dsc
  to main/s/spambayes/spambayes_1.0.4-6.dsc
spambayes_1.0.4-6_all.deb
  to main/s/spambayes/spambayes_1.0.4-6_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.
Alexandre Fayolle <[email protected]> (supplier of updated spambayes 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.8
Date: Fri, 05 Nov 2010 17:48:58 +0100
Source: spambayes
Binary: spambayes
Architecture: source all
Version: 1.0.4-6
Distribution: unstable
Urgency: low
Maintainer: Alexandre Fayolle <[email protected]>
Changed-By: Alexandre Fayolle <[email protected]>
Description: 
 spambayes  - Python-based spam filter using statistical analysis
Closes: 484442 485701 491278 582001
Changes: 
 spambayes (1.0.4-6) unstable; urgency=low
 .
   * acknowledge NMU (closes:  #484442)
   * updated to 3.0 (quilt) format
   * switched to python-support
   * split diff.gz in several quilt patches (closes: #485701)
   * fix remaining erroneous from __future__ imports (closes: #582001)
   * handle exception which can be generated by some ill-formed emails
     (closes: #491278)
   * updated standards to 3.9.1:
     -  renamed scripts in order not to have .py files in /usr/bin
        (but create bw compat symlinks in postinst)
   * removed sb_pop3dnd (not working with current version of twisted in Debian,
     and nobody seems to use it since no bug report was filed)
Checksums-Sha1: 
 e212a875b874b8a23b4f58a773678a52d06c7194 1760 spambayes_1.0.4-6.dsc
 4fc7c44849d142639e49eb1455744912c050415e 7050 spambayes_1.0.4-6.debian.tar.gz
 1985c16b6c17ba2242d6342c9b7f5d85f008fa73 337550 spambayes_1.0.4-6_all.deb
Checksums-Sha256: 
 94d70cdd74547d0b60dedd9f372b9b963e8b1386da396b206977382765a79c63 1760 
spambayes_1.0.4-6.dsc
 c8af6df662c9a40ad2f4c06f910c7cc7b4925558a3d61ff1db7978082ab6dca6 7050 
spambayes_1.0.4-6.debian.tar.gz
 2c443f47772d82a6fca8e2fa1988bbd7bbaf1abecf8fe8774b509c4a999b7d31 337550 
spambayes_1.0.4-6_all.deb
Files: 
 4f8c36b47d82a131325ba7c54fcae9d2 1760 mail optional spambayes_1.0.4-6.dsc
 afd34448a592634dd2bd70a6f311148b 7050 mail optional 
spambayes_1.0.4-6.debian.tar.gz
 63b86f3ba366ee5c990dcb5faa47e362 337550 mail optional spambayes_1.0.4-6_all.deb

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

iQIVAwUBTNQ2maFvhb7f0530AQJFbxAAsvGNf3m+usKiBhoexEyx1M2n8wJGMUlc
HmPDNZa+C14UwDYlq/61Iskg9qjjTv3/K1WGkXokIhiaTe54TpKsw5msDk7H2P+i
DiNESFGCJM+DnUSDYZLbC+s9L7vDDCIb7dGNIPHWi4cJcs6s2BzV0MZT4FYfQoyn
j8V5WkIjpAi4IBV2w6BoW4V1q4tXkMqN1rvI2lVRssgthLRWJziQ2GYojQBRZgHX
ZW4kdj0EHSXLpHEjL7YqJTNLrJTUWtvTRYPCbdyLtP8CtJd+7yW7EmgPB/a1+2lb
JWNcaiYLVO0d0xzsggUAcmwmoESRUZrpk1lDWns4fWd2K3jodXzjzBCjCTYcMqoJ
pTUkmwV90eOIufz4LE7tutAobcj9nFjslBDxerTfeGjgDaV2n9lG7zYCUQiuG1jT
oKELiNwrloMvfl2n/TQFiCC6Wc56uy7VxXhSE6kbw82yw/9tsf+3odr+9YecgFBF
6korEUoX3IekiikmNIPY60cZRZv9fCSv/hIHkoAk5njFu/gN33B0hutN9ggejwE6
BJQ6tHxGUMlB8G0V1THOm83HofRmW63HxSguJbPtBzgqWT21wUQm8wsFh8l8eqzn
Y36zqblxY+vGA7yBTzIRlECn5CpOM55bhFNzeURz6wdQItO2mZR1RCbUE7otyGRq
erXmyglF+lQ=
=cpye
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to