Package: spamassassin
Version: 3.3.2-6
Severity: normal

Dear Maintainer,

spamd includes the following snippet (line 2623):

    sub daemonize {
        # Pretty command line in ps
        $0 = join (' ', $ORIG_ARG0, @ORIG_ARGV) unless would_log("dbg");

which incorrectly uses spaces to separate elements in the cmdline which, in
turn, breaks programs that parse /proc/$PID/cmdline and assume that elements
are separated with null bytes (cf. #715000). In particular proc(5) states that:

    /proc/[pid]/cmdline
        The commandline arguments appear in this file as a set of strings
        separated by null bytes ('\0'), with a further null byte after the
        last string.

It also sets $0 to 'spamd child' in line 1114 which would be equally wrong.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf-8, LC_CTYPE=en_GB.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages spamassassin depends on:
ii  adduser                         3.113+nmu3
pn  libarchive-tar-perl             <none>
ii  libhtml-parser-perl             3.71-1
ii  libnet-dns-perl                 0.68-1.1
ii  libnetaddr-ip-perl              4.062+dfsg-1
ii  libsocket6-perl                 0.23-1+b2
ii  libsys-hostname-long-perl       1.4-2
ii  libwww-perl                     6.05-1
ii  perl                            5.14.2-21
ii  perl-modules [libio-zlib-perl]  5.14.2-21

Versions of packages spamassassin recommends:
ii  gcc                        4:4.8.1-2
ii  gnupg                      1.4.12-7
ii  libc6-dev                  2.17-7
ii  libio-socket-inet6-perl    2.69-2
ii  libmail-spf-perl           2.8.0-1
ii  make                       3.81-8.2
ii  perl [libsys-syslog-perl]  5.14.2-21
ii  re2c                       0.13.5-1
ii  spamc                      3.3.2-6

Versions of packages spamassassin suggests:
pn  libdbi-perl                   <none>
ii  libio-socket-ssl-perl         1.93-2
pn  libmail-dkim-perl             <none>
pn  libnet-ident-perl             <none>
ii  perl [libcompress-zlib-perl]  5.14.2-21
pn  pyzor                         <none>
pn  razor                         <none>

-- Configuration Files:
/etc/default/spamassassin changed:
ENABLED=1
OPTIONS="--create-prefs --max-children 5 --helper-home-dir"
PIDFILE="/var/run/spamd.pid"
CRON=0


-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to