Bug 2445 - ERROR: 2.60rc4 on OSX 10.2.6: "Use of uninitialized value in concatenation ..."
Summary: ERROR: 2.60rc4 on OSX 10.2.6: "Use of uninitialized value in concatenation ..."
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamc/spamd (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: Macintosh Mac OS X
: P5 normal
Target Milestone: 2.60
Assignee: Daniel Quinlan
URL:
Whiteboard:
Keywords:
: 2461 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-12 16:36 UTC by blakers
Modified: 2003-09-15 04:50 UTC (History)
2 users (show)



Attachment Type Modified Status Actions Submitter/CLA Status
fix patch None Daniel Quinlan [HasCLA]

Note You need to log in before you can comment on or make changes to this bug.
Description blakers 2003-09-12 16:36:28 UTC
install info:
     MacOSX 10.2.6 + Perl 5.8.0 + GCC 3.3
     CGatePro install of SA-2.60-rc4 (DL: 09/12/03 15:21:58) + scanspam.sh/spamprep + Razor-
Agents-2.36

make/install go smoothly ... spam seems to be processed as expected (!), hoever in examining /
var/log/mail/log, I find:

REPEATED ERROR:  "Use of uninitialized value in concatenation ...", as follows


Sep 12 16:24:50 server spamd[569]: processing message 
<2147483647.1063383169@[10.0.1.6]> for spamd:2. 
Sep 12 16:24:55 server spamd[569]: Use of uninitialized value in concatenation (.) or string at /
Library/Perl/Mail/SpamAssassin/PerMsgStatus.pm line 845. 
Sep 12 16:24:55 server spamd[569]: clean message (0.0/5.0) for spamd:2 in 4.7 seconds, 5515 
bytes. 


I've found no adverse effect so far, other than the NEW presence of this error msg.

R
Comment 1 Daniel Quinlan 2003-09-13 00:46:19 UTC
Interesting bug.

It seems this only will happen if you enable "always_add_headers 1" and
a message hits zero rules.  I'll attach a fix in a moment.

2.60 milestone, simple fix
Comment 2 Daniel Quinlan 2003-09-13 00:46:46 UTC
Created attachment 1359 [details]
fix
Comment 3 Malte S. Stretz 2003-09-13 06:10:46 UTC
+1  
 
maybe $self->{tag_data}->{*} should be "" and not undef in the first place. 
Comment 4 blakers 2003-09-13 08:13:31 UTC
hi,

(a) applied the patch
(b) restarted spamproc
(c) test message with "zero hits"

        X-Spam-Checker-Version: SpamAssassin 2.60-rc4 (1.203-2003-08-29-exp) on 
devbox.presence-group.com
        X-Spam-Level: 
        X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no  version=2.60-rc4
        X-Spam-Report: 


yields:

Sep 13 08:06:13 server spamd[1330]: processing message 
<2147483647.1063440377@[10.0.1.6]> for spamd:2. 
Sep 13 08:06:16 server spamd[1330]: clean message (0.0/5.0) for spamd:2 in 2.8 seconds, 1126 
bytes. 


reported error message is gone.

seems ok from my end ...

thanks!

richard
Comment 5 Theo Van Dinter 2003-09-13 08:29:51 UTC
+1
Comment 6 Theo Van Dinter 2003-09-13 10:27:14 UTC
committed.
Comment 7 Daniel Quinlan 2003-09-15 12:50:27 UTC
*** Bug 2461 has been marked as a duplicate of this bug. ***