crash in nano-4.8 when typing ^6 ^J [patch]

Bug #1866820 reported by Benno Schulenberg
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nano (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Nanos since version 4.0 contain a silly oversight: when the user tries to justify an empty region (with ^6 ^J, or similar), nano crashes.

Attached upstream patch fixes the problem. Please apply to Focal before it is released.

Revision history for this message
Benno Schulenberg (bennoschulenberg) wrote :
tags: added: patch-accepted-upstream
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nano (Ubuntu):
status: New → Confirmed
Mathew Hodson (mhodson)
Changed in nano (Ubuntu):
importance: Undecided → High
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks Benno for providing the patches, I've uploaded it to focal now (I will let other people deal wit requesting a ffe for a newer nano if wanted)

Changed in nano (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nano - 4.8-1ubuntu1

---------------
nano (4.8-1ubuntu1) focal; urgency=medium

  * Thanks Benno Schulenberg for providing the info and patches
  * debian/patches/git_justify_segfault.patch:
    - backprot an upstream fix to avoid a segfault when justifying empty
      lines (lp: #1866820)
  * debian/patches/git_newline_paste.patch:
    - backport an upstream fix for pasting new lines via kitty (lp: #1870850)

 -- Sebastien Bacher <email address hidden> Fri, 10 Apr 2020 16:12:30 +0200

Changed in nano (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.