bugGNU Screen - Bugs: bug #45714, read access violation in...

 
 

bug #45714: read access violation in MWrapChar()

Submitted by:  Kuang-che Wu <kcwu>
Submitted on:  Fri Aug 7 14:07:13 2015  
 
Category: Crash/Freeze/InfloopSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: None
Fixed Release: NonePlanned Release: None
Work Required: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Fri Aug 7 14:10:47 2015, comment #1:

ah, sorry, the reproduce step and the description mismatch.

the reproduce step should be
$ screen -D -m printf '\x1b[?3h0'

this issue is detected by afl-fuzz

Kuang-che Wu <kcwu>
Fri Aug 7 14:07:13 2015, original submission:

How to reproduce
$ screen -D -m printf '\x1b[8;;1t\xe3\x80\xb4\x1b[P'

It crashed inside MWrapChar() with y=-1
at line
copy_mchar2mline(&mchar_null, ml, p->w_width);
which access to ml->image but ml is invalid due to
ml = &p->w_mlines[y];

Kuang-che Wu <kcwu>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by kcwu (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1