Menu

#2495 invalid initialization of To: header

Produces PHP errors
closed-fixed
nobody
Compose (426)
5
2007-11-15
2007-08-13
No

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.

Discussion

  • Jonathan Angliss

    Logged In: YES
    user_id=620333
    Originator: NO

    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?

     
  • Jonathan Angliss

    • status: open --> closed-fixed
     
  • Jonathan Angliss

    Logged In: YES
    user_id=620333
    Originator: NO

    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.

     

Log in to post a comment.