bugGNU CSSC - Bugs: bug #56237, [patch] use after free in...

 
 

bug #56237: [patch] use after free in writesubst.cc

Submitter:  Takakazu Satoh <takakazu_satoh>
Submitted:  Mon 29 Apr 2019 03:18:24 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  jay
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 11 May 2019 06:35:30 AM UTC, comment #1: 

Fixed in release 1.4.1

James Youngman <jay>
Group administrator
Mon 29 Apr 2019 03:18:24 PM UTC, original submission:  

There is at least one use after free in writesubst.cc .
See the attached patch for details.
The impact depends on how std::string is implemented.
On my machine(armhf, gcc-7), this results in incorrect %M% expansion when the module name is longer than 16 bytes.

Takakazu Satoh <takakazu_satoh>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #46855:  writesubst.patch added by takakazu_satoh (428B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jay (Updated the item)
  • -email is unavailable- added by takakazu_satoh (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-05-11 jay Open/ClosedOpen Closed
    2019-05-11 jay Assigned toNone jay
    2019-05-11 jay StatusNone Fixed
    2019-04-29 takakazu_satoh Attached File- Added writesubst.patch, #46855

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code