bugGNU nano - Bugs: bug #46796, aborting the linter causes a...

 
 

bug #46796: aborting the linter causes a segfault

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Sun 03 Jan 2016 05:20:11 PM UTC  
 
Severity: 3 - NormalStatus: 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.

 

Sat 13 Feb 2016 10:38:27 AM UTC, comment #2:

This segfault probably only happened when having MALLOC_PERTURB_ set. Which I have. To something random per session.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Thu 11 Feb 2016 08:48:58 AM UTC, comment #1:

Fixed in SVN, r5631.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Sun 03 Jan 2016 05:20:11 PM UTC, original submission:

When having in your .nanorc the line 'extendsyntax c linter gcc -fshow-column', nano will segfault when aborting the linter.

To reproduce, do 'export CFLAGS='-g -Os', run './configure --disable-libmagic' and 'make clean all'.

Then run 'src/nano src/winio.c', and type ^T. It will say: "This message is for unopened file src/nano.h, open it in a new buffer?" Type ^C. Result: Segmentation fault.

Bug is present since nano-2.3.3.

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
    Sat 13 Feb 2016 10:35:18 AM UTCbensOpen/ClosedOpen=>Closed
    Thu 11 Feb 2016 08:48:58 AM UTCbensStatusNone=>Fixed
      Assigned toNone=>bens

    Back to the top


    Powered by Savane 3.1-cleanup1