Re: [SM-USERS] Mail with unencoded charter in Subject: causes Squirrelmail to hang

2010-05-28 Thread Ralf Hildebrandt
> you). Change that while loop to look like this: > > while ($entity_end_pos + 1 < $actual_strlen > && ($entity_pos = sq_strpos($string, '&', $entity_end_pos + 1)) !== > FALSE > && ($entity_end_pos = sq_strpos($string, ';', $entity_pos)) !== > FALSE > && $ent

Re: [SM-USERS] Mail with unencoded charter in Subject: causes Squirrelmail to hang

2010-05-28 Thread Ralf Hildebrandt
* Paul Lesniewski : > I believe you are correct. There is a bug report on the tracker for > this and a solution is available, although I am still fine-tuning the > details. I hope it goes without saying that the sending client needs > to fix their stuff. :-) Yes, that's true. > In the meantim

Re: [SM-USERS] Mail with unencoded charter in Subject: causes Squirrelmail to hang

2010-05-28 Thread Paul Lesniewski
On Fri, May 28, 2010 at 7:34 AM, Ralf Hildebrandt wrote: > * Ralf Hildebrandt : >> I'm using 1.4.20, and I found a mail which contains an unencoded >> character in the Subject: header line. >> >> When I'm trying to get a folder listing of a folder containing just >> this one (broken) mail, squirre

Re: [SM-USERS] Mail with unencoded charter in Subject: causes Squirrelmail to hang

2010-05-28 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > I'm using 1.4.20, and I found a mail which contains an unencoded > character in the Subject: header line. > > When I'm trying to get a folder listing of a folder containing just > this one (broken) mail, squirrelmail will loop infinitely, the > associated php5-cgi process wi

[SM-USERS] Mail with unencoded charter in Subject: causes Squirrelmail to hang

2010-05-28 Thread Ralf Hildebrandt
I'm using 1.4.20, and I found a mail which contains an unencoded character in the Subject: header line. When I'm trying to get a folder listing of a folder containing just this one (broken) mail, squirrelmail will loop infinitely, the associated php5-cgi process will hog the CPU: PID USER