SA Bugzilla – Bug 2445
ERROR: 2.60rc4 on OSX 10.2.6: "Use of uninitialized value in concatenation ..."
Last modified: 2003-09-15 04:50:27 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
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
Created attachment 1359 [details] fix
+1 maybe $self->{tag_data}->{*} should be "" and not undef in the first place.
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
+1
committed.
*** Bug 2461 has been marked as a duplicate of this bug. ***