bugGNU Screen - Bugs: bug #45715, read access violation in MScrollH()

 
 

bug #45715: read access violation in MScrollH()

Submitter:  Kuang-che Wu <kcwu>
Submitted:  Fri 07 Aug 2015 02:39:46 PM UTC
   
 
Category:  Crash/Freeze/Infloop 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
   

Fri 07 Aug 2015 02:39:46 PM UTC, original submission:  

Reproduce step
$ screen -D -m printf '\x1b[8;;1t\xe3\x80\xb4\x1b[P'
Aborted

This crashed inside MScrollH with n=-1
at line
    clear_mline(ml, xe + 1 - n, n);
which calls memmove and n*4 as size.

this is detected by afl-fuzz

Kuang-che Wu <kcwu>

 

(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 kcwu (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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code