bugGNU nano - Bugs: bug #50872, nano segfaults when resizing in...

 
 

bug #50872: nano segfaults when resizing in the middle of verbatim input

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Tue 25 Apr 2017 10:01:18 AM UTC  
 
Severity: 4 - ImportantStatus: Fixed
Assigned to: Benno Schulenberg <bens>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 05 May 2017 09:19:38 AM UTC, comment #3:

The fix is in 2.8.2.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Tue 25 Apr 2017 11:08:59 AM UTC, comment #2:

Beh... parse_verbatim_kbinput() can return NULL. In that case, don't derefence retval.

Fixed in git, ca6d7b6a.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Tue 25 Apr 2017 10:14:12 AM UTC, comment #1:

The offending commit is 908663e8.

But I don't understand why.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Tue 25 Apr 2017 10:01:18 AM UTC, original submission:

To reproduce, run 'src/nano --ignore +2 README', and type M-V. Then resize the window. Segmentation fault.

Bug exists since nano-2.7.3. Starting a bisect...

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.

 

(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 bens (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):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 05 May 2017 09:19:38 AM UTCbensOpen/ClosedOpen=>Closed
    Tue 25 Apr 2017 11:08:59 AM UTCbensSeverity5 - Blocker=>4 - Important
      StatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1