http://bugzilla.spamassassin.org/show_bug.cgi?id=3878
Summary: use of uninitialized value in spamd version 3.0.0
Product: Spamassassin
Version: 3.0.0
Platform: PC
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P5
Component: spamc/spamd
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
running the following command as root
spamc < /path/to/sample-spam.txt
leads to the unchanged sample-spam.txt (the GTUBE mail) printed to stout and
the following syslog entries (in mail.info). my local.cf was set
to "report_safe 0".
-----------------------------
Oct 6 23:19:10 knode spamd[1088]: connection from localhost [127.0.0.1] at
port 12839
Oct 6 23:19:10 knode spamd[1108]: info: setuid to root succeeded
Oct 6 23:19:10 knode spamd[1108]: Still running as root: user not specified
with -u, not found, or set to root. Fall back to nobody.
Oct 6 23:19:10 knode spamd[1108]: processing message
<[EMAIL PROTECTED]> for root:65534.
Oct 6 23:19:11 knode spamd[1108]: Use of uninitialized value in concatenation
(.) or string
at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/NoMailAudit.pm line 184.
Oct 6 23:19:11 knode spamd[1108]: Use of uninitialized value in pattern match
(m//) at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/PerMsgStatus.pm line
875.
Oct 6 23:19:11 knode spamd[1108]: clean message (-2.1/5.0) for root:65534 in
0.5 seconds, 799 bytes.
-----------------------------
running
spamassassin < /path/to/sample-spam.txt
leads to a perfectly processed (read: marked as spam) GTUBE mail on stout and
no syslogged errors.
i am running suse linux 8.2, my spamassassin installation passed all tests from
the /t directory of the distribution (althoug i did not include the network
tests) and i am using perl 5.8.0 (see below) on suse linux 8.2
i viewed the code lines mentioned in the error log, the problem occurs in
sub rewrite_no_report_safe
but my knowledge of reg exps was not sufficient to understand which value may
have been uninitialized, so my tracing stopped right there.
i tried working around this by switching to "report_safe 1" in my local.cf, but
to no avail.
i hope you can some reproduce this...
best regards
-alexander krug
-----------------------------
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.20, archname=i586-linux-thread-multi
uname='linux d20 2.4.20 #1 smp thu oct 10 18:10:26 utc 2002 i686 unknown
unknown gnulinux '
config_args='-ds -e -Dprefix=/usr -Dusethreads -Di_db -Di_dbm -Di_ndbm -
Di_gdbm -Duseshrplib=true'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O3 --pipe',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing'
ccversion='', gccversion='3.3 20030226 (prerelease) (SuSE Linux)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =''
libpth=/lib /usr/lib /usr/local/lib
libs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-
rpath,/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Mar 13 2003 22:22:34
@INC:
/usr/lib/perl5/5.8.0/i586-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.