FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS Development

 
 
LinkBack Thread Tools
 
Old 12-05-2008, 02:27 AM
John Summerfield
 
Default https://bugzilla.redhat.com/show_bug.cgi?id=237136

The above, reported against FC4, occurs in current CentOS5.

I tried to sign up for bugz, can't read the <expletives deleted> capcha
image.

[root@tpMail httpd]# rpm -q squirrelmail
squirrelmail-1.4.8-4.0.1.el5.centos.2
[root@tpMail httpd]# rpm -qi squirrelmail
Name : squirrelmail Relocations: (not relocatable)
Version : 1.4.8 Vendor: CentOS
Release : 4.0.1.el5.centos.2 Build Date: Sun 18 Nov 2007
12:28:32 PM WST
Install Date: Wed 23 Apr 2008 02:50:21 PM WST Build Host: builder6
Group : Applications/Internet Source RPM:
squirrelmail-1.4.8-4.0.1.el5.centos.2.src.rpm
Size : 14386835 License: GPL
Signature : DSA/SHA1, Wed 21 Nov 2007 04:16:30 AM WST, Key ID
a8a447dce8562897
URL : http://www.squirrelmail.org/
Summary : SquirrelMail webmail client
Description :
SquirrelMail is a standards-based webmail package written in PHP4. It
includes built-in pure PHP support for the IMAP and SMTP protocols, and
all pages render in pure HTML 4.0 (with no Javascript) for maximum
compatibility across browsers. It has very few requirements and is very
easy to configure and install. SquirrelMail has all the functionality
you would want from an email client, including strong MIME support,
address books, and folder manipulation.
[root@tpMail httpd]# tail error_log
[Fri Dec 05 11:56:18 2008] [error] [client 203.34.16.107] PHP Notice:
Undefined variable: body_message in
/usr/share/squirrelmail/functions/mime.php on line 316, referer:
http://mail.terad.net/webmail/src/right_main.php?mailbox=INBOX&sort=0&startMessage=1
[Fri Dec 05 11:56:18 2008] [error] [client 203.34.16.107] PHP Notice:
Trying to get property of non-object in
/usr/share/squirrelmail/functions/mime.php on line 316, referer:
http://mail.terad.net/webmail/src/right_main.php?mailbox=INBOX&sort=0&startMessage=1
[Fri Dec 05 11:56:18 2008] [error] [client 203.34.16.107] PHP Fatal
error: Call to a member function getParameter() on a non-object in
/usr/share/squirrelmail/functions/mime.php on line 316, referer:
http://mail.terad.net/webmail/src/right_main.php?mailbox=INBOX&sort=0&startMessage=1
[Fri Dec 05 11:57:36 2008] [error] [client 203.34.16.107] Directory
index forbidden by Options directive: /var/www/html/
[Fri Dec 05 11:58:08 2008] [error] [client 58.6.192.22] script
'/var/www/html/index.php' not found or unable to stat, referer:
http://mail.terad.net/
[Fri Dec 05 11:58:33 2008] [error] [client 58.6.192.22] PHP Notice:
Undefined variable: body_message in
/usr/share/squirrelmail/functions/mime.php on line 316, referer:
http://mail.terad.net/webmail/src/right_main.php
[Fri Dec 05 11:58:33 2008] [error] [client 58.6.192.22] PHP Notice:
Trying to get property of non-object in
/usr/share/squirrelmail/functions/mime.php on line 316, referer:
http://mail.terad.net/webmail/src/right_main.php
[Fri Dec 05 11:58:33 2008] [error] [client 58.6.192.22] PHP Fatal error:
Call to a member function getParameter() on a non-object in
/usr/share/squirrelmail/functions/mime.php on line 316, referer:
http://mail.terad.net/webmail/src/right_main.php


There's a bug in /usr/share/squirrelmail/functions/mime.php here too,
fixed by the insertion of line 316.
316 $charset = strtolower($body_message->header->getParameter('charset'));
317 if (!$charset_converted) {
318 if ($charset == 'iso-2022-jp' || $charset == 'shift_jis'
|| $charset == 'euc-jp' ||
319 ($squirrelmail_language == 'ja_JP' &&
320 ($charset == 'utf-8' || $charset == ' || $charset ==
'us-ascii'))) {
321 $body = $languages['ja_JP']['XTRA_CODE']('decode', $body);
322 $charset_converted = true;
323 }
324 }


--

Cheers
John

-- spambait
1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)
_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
 

Thread Tools




All times are GMT. The time now is 07:22 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org