#2733 Poorly formed subject causes infinite loop

closed-fixed
nobody
5
2010-09-03
2010-08-26
No

When an account has a message with a badly-formed subject line in it, loading the message list can get caught in an infinite loop. The same behavior was reported (and fixed) on this tracker (#2987016):

https://sourceforge.net/tracker/?func=detail&atid=100311&aid=2987016&group_id=311

The offending messages were identified and sent to the squirrelmail-users mailing list on this thread (starting in August, 2010 (ignore first three messages on this thread)):

http://thread.gmane.org/gmane.mail.squirrelmail.user/37803

The offending messages have been uploaded to this tracker as well.

Discussion

  • Paul Lesniewski

    Paul Lesniewski - 2010-08-26

    One more offending email

     
  • Paul Lesniewski

    Paul Lesniewski - 2010-08-26

    I have uploaded a patch that adds some debugging to the problem code. Please report its output on the offending messages.

     
  • Paul Lesniewski

    Paul Lesniewski - 2010-08-26

    I have also added a possible patch that could solve this issue, although it is just a guess, since I cannot yet reproduce the problem myself.

     
  • Paul Lesniewski

    Paul Lesniewski - 2010-08-26

    More followups to the issue and feedback on the patches I posted has been sent to the mailing list thread mentioned above. Based on that feedback, I am uploading a new proposed fix for testing. Feedback appreciated.

     
  • Paul Lesniewski

    Paul Lesniewski - 2010-09-03

    The original reporter of this issue (this time around at least) has responded on the mailing list thread linked previously that the newest patch herein solves this issue, even though it does seem to be caused by erroneous mbstring implementations. The patch is going into SVN and this tracker is being closed.

     
  • Paul Lesniewski

    Paul Lesniewski - 2010-09-03
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks