bugGNU Screen - Bugs: bug #57937, Heap Buffer overflow in MWrapChar

 
 

bug #57937: Heap Buffer overflow in MWrapChar

Submitted by:  Hanno Boeck <hanno>
Submitted on:  Mon 02 Mar 2020 12:01:51 PM UTC  
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  None
Fixed Release:  None Planned Release:  None
Work Required:  None

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Mon 02 Mar 2020 12:01:51 PM UTC, original submission:  

With an ASAN-compiled screen I observed a heap overflow.

This seems to happen if there is some output of the screen and the window is resized. I was able to reproduce this by doing a cat /dev/urandom within a screen in a GUI terminal and then resizing the window for a while in random movement.

ASAN detects a 1 byte heap overflow in MWrapChar, log attached.

Hanno Boeck <hanno>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #48531:  screen-asan.txt added by hanno (3KiB - text/plain - asan stack trace)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by hanno (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-03-02 hanno Attached File- => Added screen-asan.txt, #48531

    Back to the top


    Powered by Savane 3.6