<<< Date Index >>>     <<< Thread Index >>>

bug#1704: marked as done (mutt-1.5.4i: quoted-printable =00 makes mutt loop allocating memory until VM-killed)



Your message dated Tue, 25 May 2004 21:38:44 +0200
with message-id <20040525193843.GA28910@xxxxxxxxxxxxxxx>
and subject line bug#1704: Bug#220553: mutt-1.5.4i: quoted-printable =00 makes 
mutt loop allocating memory until VM-killed
has caused the attached bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Herr der Kaefer
(administrator, GUUG bugs database)

--------------------------------------
Received: (at submit) by bugs.guug.de; 13 Nov 2003 08:33:39 +0000
>From guillem@xxxxxxxxxxxxxxxx Thu Nov 13 09:33:36 2003
Received: from docs1-34.menta.net ([62.57.0.34] helo=pulsar.hadrons.org)
        by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
        id 1AKCv2-0003js-00
        for <submit@xxxxxxxxxxxx>; Thu, 13 Nov 2003 09:33:36 +0100
Received: from zulo.hadrons.org ([192.168.1.5] ident=mail)
        by pulsar.hadrons.org with esmtp (Exim 3.35 #1 (Debian))
        id 1AKCzh-0000bj-00; Thu, 13 Nov 2003 09:38:25 +0100
Received: from guillem by zulo.hadrons.org with local (Exim 3.36 #1 (Debian))
        id 1AKCsp-0005Nv-00; Thu, 13 Nov 2003 09:31:19 +0100
Date: Thu, 13 Nov 2003 09:31:19 +0100
From: Guillem Jover <guillem@xxxxxxxxxx>
To: submit@xxxxxxxxxxxx, submit@xxxxxxxxxxxxxxx
Subject: mutt-1.5.4i: quoted-printable =00 makes mutt loop allocating memory 
until VM-killed
Message-ID: <20031113083119.GA20665@xxxxxxxxxxxxxxxx>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="G4iJoqBmSsgzjUCe"
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
Sender: Guillem Jover <guillem@xxxxxxxxxxxxxxxx>
X-Spam-Status: No, hits=-8.2 required=5.0
        tests=BAYES_01,USER_AGENT_MUTT
        autolearn=ham version=2.55
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)


--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: mutt
Version: 1.5.4+20031024
Severity: normal

-- Please type your report below this line

When a mail is encoded with quoted-printable and the token "=00" is found,
starting from that point mutt does not render anything more and it's
like the mail does not have an end. Then pressing the <End> key it enters
a loop and starts allocating memory on chunks until the VM-Killer finishes
the process. I've attached strace to a running process and it seems it
loops on a lseek, I've not debugged anything more beacuse I'm short of
time, sorry. I've tested on a woody system and it works, I've tested
as well with no user configurations and it breaks as well.

Attached is sample mail.

-- System Information
System Version: Linux zulo 2.4.22-k6-2 #1 Tue Sep 9 21:46:37 CEST 2003 i586 
GNU/Linux
RedHat Release: 

-- Build environment information

(Note: This is the build environment installed on the system
muttbug is run on.  Information may or may not match the environment
used to build mutt.)

- gcc version information
cc
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.2/specs
Configured with: ../src/configure -v 
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr 
--mandir=/usr/share/man --infodir=/usr/share/info 
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib 
--enable-nls --without-included-gettext --enable-__cxa_atexit 
--enable-clocale=gnu --enable-debug --enable-java-gc=boehm 
--enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.2 (Debian)

- CFLAGS
-Wall -pedantic -g -O2

-- Mutt Version Information

Mutt 1.5.4i (2003-03-19)
Copyright (C) 1996-2002 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.4.22-k6-2 (i586) [using ncurses 5.3] [using libidn 0.1.14 
(compiled with 0.1.14)]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK
+USE_POP  +USE_IMAP  +IMAP_EDIT_THREADS  -USE_GSS  -USE_SSL  +USE_GNUTLS  
+USE_SASL  +USE_SASL2  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  -CRYPT_BACKEND_GPGME  
-BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET 
 +HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +HAVE_GETADDRINFO  
ISPELL="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"
MIXMASTER="mixmaster"
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please use the flea(1) utility.

patch-1.5.4.vk.pgp_verbose_mime
patch-1.5.3.rr.compressed.1
patch-1.5.4.helmersson.incomplete_multibyte
patch-1.5.4.fw.maildir_inode_sort
patch-1.3.23.1.ametzler.pgp_good_sign
patch-1.5.3.Md.gpg_status_fd
patch-1.4.Md.gpg-agent
patch-1.5.3.Md.etc_mailname_gethostbyname
patch-1.5.1.cd.edit_threads.9.2
patch-1.3.27.bse.xtitles.1
Md.use_debian_editor
Md.muttbug
patch-1.4.admcd.gnutlsdlopen.53d
patch-1.4.admcd.gnutlsbuild.53d
patch-1.4.admcd.gnutls.56d

--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=mutt-loop

>From test@xxxxxxxxxxx Tue Nov 11 09:41:41 2003
From: <test@xxxxxxxxxxx>
To: <test@xxxxxxxxxxx>
Subject: Test mail for mutt
Date: Tue, 11 Nov 2003 00:33:13 -0700
MIME-Version: 1.0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Some test text that works=00
Some more text not displayed


--G4iJoqBmSsgzjUCe--

---------------------------------------
Received: (at 1704-done) by bugs.guug.de; 25 May 2004 19:35:58 +0000
>From asp16@xxxxxxxxx Tue May 25 21:35:52 2004
Received: from alc1-interjet256-159-105.medtelecom.net ([62.117.159.105] 
helo=chistera)
        by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
        id 1BShiJ-0003v7-00
        for <1704-done@xxxxxxxxxxxx>; Tue, 25 May 2004 21:35:52 +0200
Received: from userid 1000 by chistera with local (Exim 4.34) 
          id 1BShl6-0007Wx-0s; Tue, 25 May 2004 21:38:44 +0200
Date: Tue, 25 May 2004 21:38:44 +0200
From: Adeodato =?iso-8859-1?Q?Sim=F3?= <asp16@xxxxxxxxx>
To: 1704-done@xxxxxxxxxxxx, 220553-done@xxxxxxxxxxxxxxx
Subject: Re: bug#1704: Bug#220553: mutt-1.5.4i: quoted-printable =00 makes mutt 
loop allocating memory until VM-killed
Message-ID: <20040525193843.GA28910@xxxxxxxxxxxxxxx>
References: <20031113083119.GA20665@xxxxxxxxxxxxxxxx> 
<20040524100503.GB7148@xxxxxxx>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20040524100503.GB7148@xxxxxxx>
X-No-CC: Please respect my Mail-Followup-To header
User-Agent: Mutt/1.5.6+20040523i
X-Spam-Status: No, hits=-6.8 required=4.0
        tests=AWL,BAYES_20,FROM_ENDS_IN_NUMS,IN_REP_TO,QUOTED_EMAIL_TEXT,
              REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT
        autolearn=ham version=2.55
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

* Alain Bench [Mon, 24 May 2004 12:05:03 +0200]:
> Hello Guillem, and much thanks for the very complete report.

>  On Thursday, November 13, 2003 at 9:31:19 AM +0100, Guillem Jover wrote:

> > When a mail is encoded with quoted-printable and the token "=00" is
> > found, starting from that point mutt [breaks badly]
> > patch-1.5.4.helmersson.incomplete_multibyte

  reproduced with mutt-1.5.5.1-20040105+1 (includes incomplete_multibyte).

>     Christoph spotted a bug in this patch you have. It has been now
> removed from Debian package 1.5.6-1, details in now closed Bug#244549.
> Could you please confirm that all is well for you with removed patch, or
> upgraded package?

  doesn't happen with mutt-1.5.6 (incomplete_multibyte patch was removed).

  closing bugs (debian & guug).

  cheers,

-- 
Adeodato Simó
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
 
Marriage is the sole cause of divorce.