Bug#352501: spamprobe: spamprobe score segfaults

2006-02-12 Thread Anders Helmersson
Package: spamprobe
Version: 1.2a-1
Severity: important
Tags: patch

spamprobe score segfaults when called with the attached mail (sp2.mbx). The
segfault occurs in MimeDecoder.cc on line 88.

I enclose a patch (MimeDecoder.patch) that seems to solve the problem.


Anders


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages spamprobe depends on:
ii  debconf [debconf-2.0] 1.4.70 Debian configuration management sy
ii  libc6 2.3.5-13   GNU C Library: Shared libraries an
ii  libdb4.2  4.2.52-23  Berkeley v4.2 Database Libraries [
ii  libgcc1   1:4.0.2-8  GCC support library
ii  libstdc++64.0.2-8The GNU Standard C++ Library v3

Versions of packages spamprobe recommends:
ii  maildrop  1.5.3-2mail delivery agent with filtering
ii  procmail  3.22-15Versatile e-mail processor

-- debconf information:
  spamprobe/db_upgrade:
--- Begin Message ---
Email Advertising Solutions for you:

-  Supply email list according to your order:  We will customize 
your customer email list.

-  Send out emails according to your need:  We will customize 
your email list and mailing your exclusive message for you.

* We also supply mailing solutions (Server).

Looking forward do business with you.


Mr Workman
Marketing Dept
[EMAIL PROTECTED]



This is for [EMAIL PROTECTED]
Dont email me again:  No7@@aol.com--- End Message ---
--- MimeDecoder.cc  2006-02-11 17:49:28.0 +0100
+++ MimeDecoder.cc.orig 2006-02-12 13:48:33.0 +0100
@@ -84,7 +84,7 @@
 return true;
 }
 
-unsigned int index = (unsigned char)ch;
+unsigned int index = (unsigned)ch;
 if (BASE64_CHARS[index] >= 0) {
 value = BASE64_CHARS[index];
 reader->forward();


Bug#352501: spamprobe: spamprobe score segfaults

2006-02-12 Thread Nicolas Duboc
On Sun, Feb 12, 2006 at 01:51:54PM +0100, Anders Helmersson wrote:
> Package: spamprobe
> Version: 1.2a-1
> Severity: important
> Tags: patch
> 
> spamprobe score segfaults when called with the attached mail (sp2.mbx). The
> segfault occurs in MimeDecoder.cc on line 88.
> 
> I enclose a patch (MimeDecoder.patch) that seems to solve the problem.

   Hi,

 It seems that this bug is already corrected in version 1.4a.
I'm working on this new upstream release and hope to upload the new
package to unstable before the end of next week.

 Thanks,

-- 
Nicolas Duboc <[EMAIL PROTECTED]>


pgpuk0V3qWY4V.pgp
Description: PGP signature