bugGNU Screen - Bugs: bug #47546, On resizing screen may cause an...

 
 

bug #47546: On resizing screen may cause an out of bounds memory read

Submitter:  Hanno Boeck <hanno>
Submitted:  Sun 27 Mar 2016 11:21:10 AM UTC
Votes: 1
 
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
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 27 Mar 2016 11:21:10 AM UTC, original submission:  

If compiled with address sanitizer screen will sometimes produce out of memory reads if the window is resized. Unfortunately I wasn't able to completely isolate the situation when this happens.

To reproduce:

  • Compile screen (latest git code) with address sanitizer my using ./configure CFLAGS="-fsanitize=address -g" LDFLAGS="-fsanitize=address"
  • Start screen in a graphical terminal
  • Do some things and resize the window.


I'll attach a stack trace from address sanitizer. To see the asan error one has to use the environment variable ASAN_OPTIONS and set log_path (e.g. "export ASAN_OPTIONS=log_path=/tmp/asan-error"), because screen will disable stderr.

Hanno Boeck <hanno>

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ssducf (Voted in favor of this item)
  • -email is unavailable- added by hanno (Submitted the item)
  •  

    There is 1 vote 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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-07-22 ssducf Carbon-Copy- Added ssducf
    2016-03-27 hanno Attached File- Added screen-oob-read-on-resize.txt, #36779

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code