bugGNU Screen - Bugs: bug #43866, double file-close / use-after-free

 
 

bug #43866: double file-close / use-after-free

Submitter:  Joshua Rogers <megamansec3>
Submitted:  Sun 21 Dec 2014 11:24:01 PM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  4.2.1
Fixed Release:  4.3.0 Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 08 Jun 2015 09:52:17 PM UTC, comment #1: 
Amadeusz Sławiński <amade>
Group administrator
Sun 21 Dec 2014 11:24:01 PM UTC, original submission:  

Hi,

In fileio.c on line 630, 'i' is closed correctly:
630      close(i);

but then on line 640, it is cloed again.
640  close(i);


Thanks

Joshua Rogers <megamansec3>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by amade (Posted a comment)
  • -email is unavailable- added by megamansec3 (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-08 amade StatusNone Fixed
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.3.0

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code