You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/11/19 21:22:14 UTC

[Bug 3984] Use of uninitialized value in pattern match

http://bugzilla.spamassassin.org/show_bug.cgi?id=3984





------- Additional Comments From felicity@kluge.net  2004-11-19 12:22 -------
Subject: Re:  New: Use of uninitialized value in pattern match

On Fri, Nov 19, 2004 at 10:04:08AM -0800, bugzilla-daemon@bugzilla.spamassassin.org wrote:
>            Version: SVN Trunk (Latest Devel Version)
> 
> Use of uninitialized value in pattern match (m//) at
> /Library/Perl/5.8.5/Mail/SpamAssassin/Message.pm line 230.

Hrm.

    if (defined $boundary && $message[0] =~ /^--\Q$boundary\E(?:--|\s*$)/) {

So that means $message[0] must be undef...  I just reproduced it, it occurs
with malformed messages when there's a header and absolutely no body or blank
line separator.

I'll commit a patch when I get a free minute.





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.