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++6                    4.0.2-8    The GNU Standard C++ Library v3

Versions of packages spamprobe recommends:
ii  maildrop                      1.5.3-2    mail delivery agent with filtering
ii  procmail                      3.22-15    Versatile 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.000000000 +0100
+++ MimeDecoder.cc.orig 2006-02-12 13:48:33.000000000 +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();

Reply via email to