Your message dated Thu, 03 Sep 2009 13:02:48 +0000
with message-id <[email protected]>
and subject line Bug#484352: fixed in procmail 3.22-17
has caused the Debian Bug report #484352,
regarding procmail: Aborts because of corrupted string
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
484352: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484352
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: procmail
Version: 3.22-16
Severity: important
Hello,
There's a mailing list that makes procmail abort with
procmail: Skipped "toute requete administrative, contactez [email protected];
Liste geree par ezmlm/"
*** glibc detected *** procmail: double free or corruption (!prev): 0x0805cfe0
***
I could reduce it to the following .procmailrc
:0fw: spamassassin.lock
* < 256000
| /usr/bin/spamc
:0
* ^(List-Id|Mailing-List): \/[^<]*
IN/list/$MATCH/
and the attached mail. Running procmail -f Foo < mail-nvdafr-error
produces the abort. The gdb trace is as follows:
4 0xb7f6aef5 in raise () from /lib/i686/cmov/libc.so.6
#5 0xb7f6c871 in abort () from /lib/i686/cmov/libc.so.6
#6 0xb7fa39ec in __libc_message () from /lib/i686/cmov/libc.so.6
#7 0xb7fab8f5 in _int_free () from /lib/i686/cmov/libc.so.6
#8 0xb7faf360 in free () from /lib/i686/cmov/libc.so.6
#9 0x0805449e in tfree (p=0x805cfd8) at robust.c:91
#10 0x0804f5ec in writefolder (boxname=0x805b810 "IN/list/Pour",
linkfolder=0x805cfd8 "toute requete administrative, contactez
[email protected]; Liste geree par ezmlm/",
source=0x805df08 "From Foo Tue Jun 3 20:36:19 2008\nReturn-Path:
<[email protected]>\nX-Spam-Checker-Version: SpamAssassin 3.2.4
(2008-01-01) on\n\timplementation.famille.thibault.fr\nX-Spam-Level:
\nX-Spam-Status: No"..., len=6676, ignwerr=0, dolock=0) at mailfold.c:217
#11 0x0804a388 in mainloop () at procmail.c:884
#12 0x0804b772 in main (argc=3, argv=0xbffe8614) at procmail.c:488
valgrind says
==8314== Invalid write of size 1
==8314== at 0x804CEFA: concatenate (goodies.c:381)
==8314== by 0x804F5DB: writefolder (mailfold.c:217)
==8314== by 0x804A387: mainloop (procmail.c:884)
==8314== by 0x804B771: main (procmail.c:488)
==8314== Address 0x419bfa4 is 0 bytes after a block of size 84 alloc'd
==8314== at 0x4022AB8: malloc (vg_replace_malloc.c:207)
==8314== by 0x80546CF: tmalloc (robust.c:49)
==8314== by 0x804F2E7: writefolder (mailfold.c:208)
==8314== by 0x804A387: mainloop (procmail.c:884)
==8314== by 0x804B771: main (procmail.c:488)
And this is indeed wrong: in writefolder() we allocate a string of size
Tmnate-linkfolder, and then concatenate() basically does *Tmnate = 0...
Samuel
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.25
Locale: lang=fr...@euro, lc_ctype=fr...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages procmail depends on:
ii libc6 2.7-10 GNU C Library: Shared libraries
Versions of packages procmail recommends:
ii exim4 4.69-5 meta-package to ease Exim MTA (v4)
ii exim4-daemon-light [mail-tran 4.69-5+b1 lightweight Exim MTA (v4) daemon
ii fetchmail 6.3.8-11 SSL enabled POP3, APOP, IMAP mail
-- no debconf information
>From [email protected] Fri May 30 10:11:29 2008
Return-Path: <[email protected]>
Received: from iona.labri.fr [147.210.8.143]
by implementation.famille.thibault.fr with IMAP (fetchmail-6.3.8)
for <s...@localhost> (single-drop); Fri, 30 May 2008 10:11:29 +0100
(BST)
Received: from iona.labri.fr ([unix socket])
by iona.labri.fr (Cyrus v2.3.10) with LMTPA;
Fri, 30 May 2008 10:32:44 +0200
X-Sieve: CMU Sieve 2.3
Received: from localhost (localhost.localdomain [127.0.0.1])
by iona.labri.fr (Postfix) with ESMTP id 104759007C
for <[email protected]>; Fri, 30 May 2008 10:32:44 +0200 (CEST)
X-Virus-Scanned: amavisd-new at labri.fr
X-Amavis-OS-Fingerprint: Linux 2.6 (newer, 3) (up: 6535 hrs), (distance 10,
link: ethernet/modem), [91.121.28.222:]
Received: from iona.labri.fr ([127.0.0.1])
by localhost (iona.labri.fr [127.0.0.1]) (amavisd-new, port 10024)
with LMTP id VKEAExvFEnBb for <[email protected]>;
Fri, 30 May 2008 10:32:42 +0200 (CEST)
Received: from 23.mail-out.ovh.net (23.mail-out.ovh.net [91.121.28.222])
by iona.labri.fr (Postfix) with SMTP id ED1A390078
for <[email protected]>; Fri, 30 May 2008 10:32:41 +0200 (CEST)
Received: (qmail 9210 invoked by uid 503); 30 May 2008 08:33:05 -0000
Received: from unknown (HELO mail223.ha.ovh.net) (213.186.33.59)
by 23.mail-out.ovh.net with SMTP; 30 May 2008 08:33:05 -0000
Received: from b0.ovh.net (HELO queue-out) (213.186.33.50)
by b0.ovh.net with SMTP; 30 May 2008 08:32:51 -0000
Mailing-List: Pour toute requete administrative, contactez [email protected];
Liste geree par ezmlm
List-Help: <mailto:[email protected]>
List-Post: <mailto:[email protected]>
List-Subscribe: <mailto:[email protected]>
Date: 30 May 2008 08:32:51 -0000
Message-ID: <[email protected]>
From: [email protected]
To: [email protected]
Delivered-To: responder for [email protected]
Received: from b0.ovh.net (HELO queue) (213.186.33.50)
by b0.ovh.net with SMTP; 30 May 2008 08:32:48 -0000
Received: from iona.labri.fr (147.210.8.143)
by mx1.ovh.net with SMTP; 30 May 2008 08:32:45 -0000
Received: from localhost (localhost.localdomain [127.0.0.1])
by iona.labri.fr (Postfix) with ESMTP id 05C0D9008E
for
<nvdafr-sc.1211894540.lplmbkdofjlcceobmhfo-samuel.thibault=labri...@nvda.fr>;
Fri, 30 May 2008 10:32:35 +0200 (CEST)
Received: from iona.labri.fr ([127.0.0.1])
by localhost (iona.labri.fr [127.0.0.1]) (amavisd-new, port 10024)
with LMTP id SfgM-h57-RlR; Fri, 30 May 2008 10:32:34 +0200 (CEST)
Received: from cleo.labri.fr (cleo.labri.fr [147.210.8.93])
by iona.labri.fr (Postfix) with ESMTP id E8EFC90078;
Fri, 30 May 2008 10:32:34 +0200 (CEST)
Received: by cleo.labri.fr (Postfix, from userid 4726)
id 3D5FB2EC06; Fri, 30 May 2008 10:32:34 +0200 (CEST)
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
List-Unsubscribe: <mailto:[email protected]>
Subject: WELCOME to [email protected]
X-Ovh-Tracer-Id: 13529094756201179650
Bonjour ! Je suis le programme ezmlm. Je m'occupe de la liste
de diffusion [email protected].
Accuse de reception: j'ai ajoute l'adresse
[email protected]
a la liste de diffusion nvdafr.
Bienvenue dans la liste [email protected] !
Pensez a sauvegarder ce message pour que vous puissiez connaitre
l'adresse sous laquelle vous vous etes abonnes, au cas ou vous
souhaiteriez ulterieurement vous desinscrire ou changer votre
adresse d'abonnement.
Pour vous desinscrire, envoyez un message a :
<[email protected]>
--- Voici les adresses relatives aux commandes de cette liste:
Je peux prendre en charge les requetes administratives automatiquement.
Envoyez simplement un petit message a l'une de ces adresses:
Pour recevoir de l'aide et une description des commandes possibles, envoyez
un message a :
<[email protected]>
Pour vous inscrire a la liste de diffusion nvdafr, envoyez un message a :
<[email protected]>
Pour retirer votre adresse de la liste, envoyez simplement un message a
l'adresse qui se trouve dans l'en-tete ``List-Unsubscribe'' situe dans
n'importe quel message de la liste. Si votre adresse actuelle est strictement
identique a celle que vous avez utilisee pour vous inscrire, il vous est aussi
possible d'envoyer un message quelconque a :
<[email protected]>
Pour l'ajout ou le retrait d'adresses, vous receverez systematiquement un
message de confirmation. Il vous suffira d'y repondre pour achever la
transaction.
Si vous desirez contacter le proprietaire de cette liste, veuillez envoyer un
message a :
<[email protected]>
S'il vous plait, envoyez un message qui vous a ete adresse avec TOUS SES
EN-TETES (faite suivre le message : "forward") pour qu'il puisse plus
aisement vous aider.
--- Ci-dessous se trouve une copie de la requete que j'ai recue.
Return-Path: <[email protected]>
Received: from b0.ovh.net (HELO queue) (213.186.33.50)
by b0.ovh.net with SMTP; 30 May 2008 08:32:48 -0000
Received: from iona.labri.fr (147.210.8.143)
by mx1.ovh.net with SMTP; 30 May 2008 08:32:45 -0000
Received: from localhost (localhost.localdomain [127.0.0.1])
by iona.labri.fr (Postfix) with ESMTP id 05C0D9008E
for
<nvdafr-sc.1211894540.lplmbkdofjlcceobmhfo-samuel.thibault=labri...@nvda.fr>;
Fri, 30 May 2008 10:32:35 +0200 (CEST)
X-Virus-Scanned: amavisd-new at labri.fr
Received: from iona.labri.fr ([127.0.0.1])
by localhost (iona.labri.fr [127.0.0.1]) (amavisd-new, port 10024)
with LMTP id SfgM-h57-RlR; Fri, 30 May 2008 10:32:34 +0200 (CEST)
Received: from cleo.labri.fr (cleo.labri.fr [147.210.8.93])
by iona.labri.fr (Postfix) with ESMTP id E8EFC90078;
Fri, 30 May 2008 10:32:34 +0200 (CEST)
Received: by cleo.labri.fr (Postfix, from userid 4726)
id 3D5FB2EC06; Fri, 30 May 2008 10:32:34 +0200 (CEST)
Date: Fri, 30 May 2008 10:32:33 +0200
From: Samuel Thibault <[email protected]>
To: nvdafr-sc.1211894540.lplmbkdofjlcceobmhfo-samuel.thibault=labri...@nvda.fr
Cc: [email protected]
Subject: Re: confirm subscribe to [email protected]
Message-ID: <[email protected]>
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
User-Agent: Mutt/1.5.17 (2007-11-01)
X-Ovh-Tracer-Id: 13523465258171805142
X-Ovh-Remote: 147.210.8.143 (iona.labri.fr)
X-Ovh-Local: 213.186.33.29 (mx1.ovh.net)
X-Spam-Check: DONE|H 0.5/N
--- End Message ---
--- Begin Message ---
Source: procmail
Source-Version: 3.22-17
We believe that the bug you reported is fixed in the latest version of
procmail, which is due to be installed in the Debian FTP archive:
procmail_3.22-17.diff.gz
to pool/main/p/procmail/procmail_3.22-17.diff.gz
procmail_3.22-17.dsc
to pool/main/p/procmail/procmail_3.22-17.dsc
procmail_3.22-17_amd64.deb
to pool/main/p/procmail/procmail_3.22-17_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Santiago Vila <[email protected]> (supplier of updated procmail package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 3 Sep 2009 14:42:44 +0200
Source: procmail
Binary: procmail
Architecture: source amd64
Version: 3.22-17
Distribution: unstable
Urgency: medium
Maintainer: Santiago Vila <[email protected]>
Changed-By: Santiago Vila <[email protected]>
Description:
procmail - Versatile e-mail processor
Closes: 474298 484352
Changes:
procmail (3.22-17) unstable; urgency=medium
.
* Changed mailfold.c to fix off-by-one malloc error in writefolder()
which made procmail to crash. Closes: #474298, #484352.
* Do not ignore errors from make realclean.
* Cleanup of debian/rules.
Checksums-Sha1:
5bd9ee3149bd4c9ef913d4755f35643c81ae315f 1212 procmail_3.22-17.dsc
e37cfd4a00521ac29e5eb7c3a7943f0d76ecaf37 15212 procmail_3.22-17.diff.gz
9e77757e41ef73a56c262778b9aedca0c58ebd61 155314 procmail_3.22-17_amd64.deb
Checksums-Sha256:
6991b810cf40a8f23b1b4bc198c0d87881d24a149e6af7b07e60f809f6fb677d 1212
procmail_3.22-17.dsc
cbe72fc479a68a8aa0d5d23e42537f1a69341fde081c3d75e7517b16e9e2f7f1 15212
procmail_3.22-17.diff.gz
22cbf9024b45eee6d6616c8120b2efa7a5c977a5db22df456699013b26c8032e 155314
procmail_3.22-17_amd64.deb
Files:
4e57b8fa40d661fe5a23d5cba98cd31a 1212 mail standard procmail_3.22-17.dsc
9ec18f974e7be6261c5ce040c23b631f 15212 mail standard procmail_3.22-17.diff.gz
58253d8fbf50ce24f965e85b099a607c 155314 mail standard
procmail_3.22-17_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iQEcBAEBCAAGBQJKn7tZAAoJEEHOfwufG4syyN8H+QE0ygexzWWFRxuDTWDhqrTs
O9t9YcbUbluqpGCotkjdNLN02SB+JmwH00DZZLAJqzCLXHaEZQfo1+YJDIKXp5ng
VEYqL/v/TToj6QFkpuLPVdwsTV+CvqoMtcSakiTfrcn9FOa4o3NeOxapaUdQHG9r
H1lwfXtCUkk7rjMDnkZ6Lh0fwIrAAnI0vYmrZ0YtHbq87bc0up55yMfkPtqDA8xn
HZckqTt3GYVFs7dUrKz1zuSX8oUP/q3nSm8gc/NrB9WmLWcw+9rb27VMGQnoG7eR
aFjSbXd2Lzef9VebaBRDcqu5nVod8LpZeO69utMwSKwSZTWLVlfw4NNzQGxWyfU=
=lbEx
-----END PGP SIGNATURE-----
--- End Message ---