bugThe nmh Mail Handling System - Bugs: bug #1730, Double free() in...

 
 

bug #1730: Double free() in mhfree.c:free_encoding()

Submitted by:  Chris Jepeway <jepeway>
Submitted on:  Sat 16 Nov 2002 12:33:46 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 27 Jun 2003 05:05:04 PM UTC, comment #1:

patch applied

Glenn Burkhardt <gbburkhardt>
Project Member
Sat 16 Nov 2002 12:33:46 AM UTC, original submission:

free_encoding() can free ce->ce_file twice.
I stumbled over this bug when trying to view
some spam with a quoted-printable encoding that
contained a few ^M's. This caused openQuoted() to
bail and call free_encoding(). This trickled up
to the top level, which called free_content(), again
calling free_encoding(). See the patch for the simple fix.

Chris Jepeway <jepeway>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #148:  eek[1].txt added by jepeway (224B - text/plain - Patch to Fix Double-free() in free_encoding())

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 27 Jun 2003 05:38:18 PM UTCgbburkhardtStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1