From: Daniel W. <da...@wi...> - 2007-11-06 20:20:35
|
On Tue, November 6, 2007 8:05 pm, Tomas Kuliavas wrote: >> Hi all, >> >> I had a nasty experience this weekend. My uncle (whose mail my server >> carries) called and said that he could not read his mail via the webmail >> (SquirrelMail 1.4.11). I logged in and lo, he was right! >> >> After some investigation I noticed that his mailbox caused the Apache >> server (2.2.6 [Debian 2.2.6-2]) to seg-fault! >> >> Looking through the mail files on my IMAP server (Cyrus IMAP 2.3.7) I >> found the mail that caused the problems. It was sent from Korea and >> contained a "From" field in the headers that looks like this: >> >> From: ½Â¿ì Ȳ <scu...@ya...> >> >> If I changed this to something non-quoted, then everything works as it >> should. >> >> I've filed a bug report on this (1825492). I consider this to be a >> serious >> bug as it not only prevented my uncle from reading his mail, but also >> caused my web-server to crash. >> >> Can someone please take a look at this? >> >> Best regards >> /Daniel Widenfalk > > euc-kr decoding uses recode, iconv or mbstring extension functions. On > Debian code uses recode or iconv. If code segfaults, it shows issues with > your recode or iconv extension. I would suspect outdated or broken php > recode package. Php version is 5.2.4 (Debian 5.2.4-2) so it's not outdated. Can't say anything about if it's broken or not. Can I do anything to help figure out what's going wrong? > Make sure that it is not caused by lack of euc-kr support in Cyrus IMAP. > Test other messages with euc-kr headers. Try other Chinese, Japanese or > Korean charsets. All CJK charset decoding functions use same PHP > extensions. Does the IMAP server really need to support euc-kr encoding? I thought that the server just sent over the data (which shows how much I know about the IMAP protocol). I'll dig into the Cyrus code to see if there's anything there even though I can't see how the Cyrus code (running on another machine) can affect the web server so severely. Regards /Daniel > > -- > Tomas > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > -- > squirrelmail-devel mailing list > Posting Guidelines: > http://www.squirrelmail.org/wiki/MailingListPostingGuidelines > List Address: squ...@li... > List Archives: > http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.devel > List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=7139 > List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel > |