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/09/18 15:23:12 UTC
[Bug 3786] New: uninitialized variable in bayes
http://bugzilla.spamassassin.org/show_bug.cgi?id=3786
Summary: uninitialized variable in bayes
Product: Spamassassin
Version: 2.64
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: minor
Priority: P5
Component: Libraries
AssignedTo: dev@spamassassin.apache.org
ReportedBy: jeff@doeshosting.com
Here is the logs, followed by the affected code
<snip>
Sep 18 06:10:20 doeshosting spamd[19991]: Use of uninitialized value
at /usr/local/lib/perl5/site_perl/5.005/Mail/SpamAssassin/Bayes.pm line 549,
<GEN1037> chunk 43.
Sep 18 06:10:20 doeshosting spamd[19991]: Use of uninitialized value
at /usr/local/lib/perl5/site_perl/5.005/Mail/SpamAssassin/Bayes.pm line 551,
<GEN1037> chunk 43.
Sep 18 06:10:20 doeshosting spamd[19991]: Use of uninitialized value
at /usr/local/lib/perl5/site_perl/5.005/Mail/SpamAssassin/Bayes.pm line 552,
<GEN1037> chunk 43.
Sep 18 06:10:21 doeshosting spamd[19991]: Use of uninitialized value
at /usr/local/lib/perl5/site_perl/5.005/Mail/SpamAssassin/Bayes.pm line 549.
Sep 18 06:10:21 doeshosting spamd[19991]: Use of uninitialized value
at /usr/local/lib/perl5/site_perl/5.005/Mail/SpamAssassin/Bayes.pm line 551.
Sep 18 06:10:21 doeshosting spamd[19991]: Use of uninitialized value
at /usr/local/lib/perl5/site_perl/5.005/Mail/SpamAssassin/Bayes.pm line 552.
Sep 18 06:10:21 doeshosting spamd[19991]: identified spam (21.7/5.0) for
info@tmsummit.com:1016 in 1.0 seconds, 1462 bytes.
<snip>
here is the code, starting at line 549
these are the only instances of 'boundary' in this file
<snip>
if ($val =~ s/boundary=[\"\'](.*?)[\"\']/ /ig) {
my $boundary = $1;
$boundary =~ s/[a-fA-F0-9]/H/gs;
# break up blocks of separator chars so they become their own tokens
$boundary =~ s/([-_\.=]+)/ $1 /gs;
$val .= $boundary;
<snip>
-Jeff
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.