On Fri, Aug 27, 2004 at 02:46:23PM -0500, R. Steven Rainwater wrote:
> Use of uninitialized value in length at
> /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/PerMsgStatus.pm line
> 1339, <GEN141> line 98.
> 1342, <GEN141> line 98.
> 1343, <GEN141> line 98.

Those three are caused by invalid headers in the message.

> Use of uninitialized value in length at
> /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Bayes.pm line 457,
> /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Bayes.pm line 460,
> /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Bayes.pm line 461,

Same issue.

> Can anyone tell me how to fix this problem?

If you're getting a lot of these (really?) you can put:

    $value ||= '';

around Bayes.pm line 452 and PerMsgStatus line 1335 (after the key,value =
split line ...)

FWIW, 3.0.0 doesn't have this issue.

-- 
Randomly Generated Tagline:
"The Beatles used more hair products then Jesus."   - Rusty McGee

Attachment: pgpciNESE03Ex.pgp
Description: PGP signature

Reply via email to