Your message dated Wed, 4 Jun 2008 11:54:17 +0200 (CEST)
with message-id <[EMAIL PROTECTED]>
has caused the report #484352,
regarding procmail: Aborts because of corrupted string
to be marked as having been forwarded to the upstream software
author(s) Procmail Bugs <[EMAIL PROTECTED]>
(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 ---
Hello.
I received this from the Debian bug system.
Please tell me that you are alive.
---------- Forwarded message ----------
From: Samuel Thibault <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Date: Tue, 3 Jun 2008 21:19:23 +0100
Subject: Bug#484352: procmail: Aborts because of corrupted string
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
[...]
>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 <[EMAIL PROTECTED]> (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 <[EMAIL PROTECTED]>; 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 <[EMAIL PROTECTED]>; 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: [EMAIL PROTECTED]
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 ---