bugGNU nano - Bugs: bug #62107, nano crashes when piping an empty...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #62107: nano crashes when piping an empty buffer through a command

Submitter:  jv84
Submitted:  Thu 24 Feb 2022 06:00:53 AM UTC
   
 
Severity:  4 - Important Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Fri 29 Apr 2022 10:04:32 AM UTC, comment #5: 

The fix was released in nano-6.3.  Thanks again for reporting.

Benno Schulenberg <bens>
Group administrator
Sun 27 Feb 2022 11:17:28 AM UTC, comment #4: 

The issue will be closed when the fix has been released.

Benno Schulenberg <bens>
Group administrator
Sat 26 Feb 2022 02:44:40 AM UTC, comment #3: 

You can close this. Nice weekend for you.

jv84
Thu 24 Feb 2022 03:53:44 PM UTC, comment #2: 

Fixed in git, commit 93400ec8, by skipping the update of the undo item for a CUT when the cutbuffer is NULL.

Thanks for reporting.

Benno Schulenberg <bens>
Group administrator
Thu 24 Feb 2022 10:55:36 AM UTC, comment #1: 

Oww...  Bug exists since version 4.9.  The offending commit is b15c5a7e: "abort in three situations that should never occur", which removed a 'break'.

Benno Schulenberg <bens>
Group administrator
Thu 24 Feb 2022 06:00:53 AM UTC, original submission:  

Simply pressing ^T and inserting a pipe symbol is enough. The buffer is written to a file.

jv84

 

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

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 bens (Posted a comment)
  • -email is unavailable- added by jv84 (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.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-04-29 bens Open/ClosedOpen Closed
    2022-04-29 bens Discussion LockLocked None
    2022-02-27 bens Discussion LockNone Locked
    2022-02-24 bens StatusNone Fixed
    2022-02-24 bens Severity3 - Normal 4 - Important
        Assigned toNone bens
        SummaryCrash when executing a pipe symbol with empty buffer nano crashes when piping an empty buffer through a command

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code