bugGNU Mailutils - Bugs: bug #30383, Error parsing parameter value...

 
 

bug #30383: Error parsing parameter value containing '.' in Content-type

Submitted by:  None
Submitted on:  Wed 07 Jul 2010 08:26:41 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Sergey Poznyakoff <gray>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 27 Dec 2011 08:37:28 PM UTC, comment #1:

Fixed in the repository.

Sergey Poznyakoff <gray>
Project AdministratorIn charge of this item.
Wed 07 Jul 2010 08:26:41 PM UTC, original submission:

I have a message with the following valid Content-type header line:

Content-Type: multipart/Voice-Message; Version=2.0;
boundary="----=_Part_89179_16288247.1260303602309"

The "_mime_get_param()" function in "mime.c" does not correctly parse the "Version=2.0" parameter in the message, even though this is a valid parameter according to RFC 2045 section 5.1. It stops parsing at the "." character, which it incorrectly treats as a special character (_ISSPECIAL). According to RFC 2045 section 5.1, the "." character is a valid token character as it is not part of "tspecials".

I found this because the "mu_message_get_num_parts()" function returns EINVAL for this message. It never finds the required "boundary" parameter which appears later on the line, and assumes the Content-type field is invalid.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gray (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 27 Dec 2011 08:37:28 PM UTCgrayStatusNone=>Fixed
      Assigned toNone=>gray
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1