mhonarc-dev

[bug #4569] Problem with unfolding can mess up boundary processing in multipart messages

2003-08-01 23:09:01

=================== BUG #4569: LATEST MODIFICATIONS ==================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=4569&group_id=1968

Changes by: Earl Hood <earl(_at_)earlhood(_dot_)com>
Date: Sat 08/02/2003 at 01:07 (US/Central)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
       Fixed Release |                           | CVS


------------------ Additional Follow-up Comments ----------------------------
Fixes made in readmail.pl and checked into CVS.



=================== BUG #4569: FULL BUG SNAPSHOT ===================


Submitted by: ehood                   Project: MHonArc                      
Submitted on: Thu 07/31/2003 at 22:44
Category:  Mail Parsing               Severity:  5 - Major                  
Bug Group:  Incorrect Behavior        Resolution:  Fixed                    
Assigned to:  None                    Status:  Open                         
Platform Version:  All                Perl Version:  All                    
Component Version:  <=2.6.6           Fixed Release:  CVS                   

Summary:  Problem with unfolding can mess up boundary processing in multipart 
messages

Original Submission:  (This is a clarified bug report submitted by Sean Dague to
 dev list)

There actually two problems:

* Unfolding is incorrectly done by removing the first
  whitespace character from the line that is unfolded
  back.  This is an ugly (incomplete) hack to facilitate
  non-ascii decoding.  Normally, this hack does not
  affect other mail parsing tasks, except when it cause
  the next problem to occur,

* Extracting the boundary delimiter from the content-type
  field did not work properly if the boundary was not
  quoted and no space existed after the ';' and the next
  attribute.  Example: boundary=XXX;protocal=...
  This condition occurred once in awhile when the
  content-type field was folded and the unfolding caused
  the whitespace between two tokens to be dropped.

Follow-up Comments
*******************

-------------------------------------------------------
Date: Sat 08/02/2003 at 01:07       By: ehood
Fixes made in readmail.pl and checked into CVS.


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=4569&group_id=1968

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV

<Prev in Thread] Current Thread [Next in Thread>