[imp] Reply exhausts memory limit when parsing the attached mail

Jens Pranaitis pranaitis at phil.hhu.de
Tue Jan 29 13:38:12 UTC 2013


Hello list,
a user contacted me today, because the compose window wouldn't load when 
replying to a mail. The mail had a lot of goofy HTML in it, but even 
after stripping the entire message body Horde still chokes on it. To me 
the "References" header looks like the culprit, but I don't know enough 
about the Horde internals to verify. The error message in my apache log 
file is:

[Tue Jan 29 14:31:54 2013] [error] [client x.x.x.x] PHP Fatal error: 
Allowed memory size of 1073741824 bytes exhausted (tried to allocate 32 
bytes) in /usr/share/php/Horde/Mail/Rfc822.php on line 795, referer: 
https://webmail.phil-fak.uni-duesseldorf.de/horde/imp/dynamic.php?page=mailbox

I'm running Horde 5.0.3 with IMP 6.0.3. Any ideas what could be causing 
this?

Kind regards,
Jens Pranaitis

-------- Original Message --------
Return-Path: <pranaitis at phil.hhu.de>
Received: from smtp6.phil-fak.uni-duesseldorf.de 
(smtp6.phil-fak.uni-duesseldorf.de [134.99.24.134])  by sokrates (Cyrus 
v2.4.17) with LMTPA;  Tue, 29 Jan 2013 14:26:00 +0100
X-Sieve: CMU Sieve 2.4
Received: from localhost (localhost [127.0.0.1]) by 
smtp6.phil-fak.uni-duesseldorf.de (Postfix) with ESMTP id 52B7A20091 for 
<pranaitis at phil.hhu.de>; Tue, 29 Jan 2013 14:24:37 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at smtp6.phil-fak.uni-duesseldorf.de
Received: from smtp6.phil-fak.uni-duesseldorf.de ([127.0.0.1]) by 
localhost (smtp6.phil-fak.uni-duesseldorf.de [127.0.0.1]) (amavisd-new, 
port 10024) with ESMTP id wHJl4aFLkexq for <pranaitis at phil.hhu.de>; Tue, 
29 Jan 2013 14:24:37 +0100 (CET)
Received: from [134.99.58.10] (sna-lnx3.phil-fak.uni-duesseldorf.de 
[134.99.58.10]) by smtp6.phil-fak.uni-duesseldorf.de (Postfix) with 
ESMTPSA id 23E4F2008D for <pranaitis at phil.hhu.de>; Tue, 29 Jan 2013 
14:24:37 +0100 (CET)
Message-ID: <5107CDE7.20109 at phil.hhu.de>
Date: Tue, 29 Jan 2013 14:25:58 +0100
From: Jens Pranaitis <pranaitis at phil.hhu.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 
Thunderbird/17.0.2
MIME-Version: 1.0
To: Jens Pranaitis <pranaitis at phil.hhu.de>
Subject: Antwort: Re: Antwort: AW: Antwort: AW: Treffen
References: <000301cdfbae$9dbe5430$d93afc90$@W at geheim.de> 
<20130126164239.Horde.gPUiLgeEKADbHQ7k-3ns8A1 at geheim.de> 
<001001cdfc8c$66d66500$34832f00$@W at geheim.de> 
<OF2BC6A091.995F11C5-ONC1257B01.003509D3-C1257B01.0035D842 at geheim.de> 
<001d01cdfd76$9b663f30$d232bd90$@W at geheim.de> 
<OF078997F1.C23273D4-ONC1257B01.005C3FD8-C1257B01.005CC068 at geheim.de> 
<D8289FC6-DFDE-473F-82AB-727C36AD7C34 at geheim.de>
In-Reply-To: <D8289FC6-DFDE-473F-82AB-727C36AD7C34 at geheim.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit






More information about the imp mailing list