Tracker: Bugs

5 invalid initialization of To: header - ID: 1772893
Last Update: Comment added ( jangliss )

When SquirrelMail Message class parses body structure, invalid failsafe
To:, Cc: and Bcc: values are assigned to rfc822header object in
parseEnvelope() function. Some messages can trigger notices in Rfc822Header
findAddress() method.

How to reproduce PHP notices:
1. Make sure that you have more than one identity in personal preferences.
2. Read rfc822 attachment without To: header and try replying.

class/mime/Rfc822Header.class.php v.1.6 commit prevents only Cc: notices.
It does not prevent foreach errors on $this->to property.


Tomas Kuliavas ( tokul ) - 2007-08-13 07:28

5

Closed

Fixed

Nobody/Anonymous

Compose

Produces PHP errors

Public


Comments ( 3 )

Date: 2007-11-15 06:03
Sender: janglissProject AdminAccepting Donations


This bug has been resolved.

Please pull the latest version from the appropriate development
tree CVS to fix your bug.

Thank you for your help in resolving this issue.


Date: 2007-11-15 05:02
Sender: tokul


http://squirrelmail.cvs.sourceforge.net/squirrelmail/squirrelmail/class/mime/Rfc822Header.class.php?r1=1.5&r2=1.6


Date: 2007-11-15 04:13
Sender: janglissProject AdminAccepting Donations


As SVN doesn't use file versions, I cannot track down the version you're
specifically mentioning, nor can I find any commits that seem to modify the
behavior in class/mime/Rfc822Header.class.php that might resolve the Cc
issue you're reporting. Do you have a previous bug ID?


Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2007-11-15 06:03 jangliss
resolution_id None 2007-11-15 06:03 jangliss
close_date - 2007-11-15 06:03 jangliss