patchGNU nano - Patches: patch #8181, Fix hang (or segfault) after M-A,...


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

patch #8181: Fix hang (or segfault) after M-A, right, M-T, (left,) ^K.

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Fri 13 Sep 2013 09:28:06 PM UTC  
Priority: 5 - NormalStatus: Done
Privacy: PublicAssigned to: Benno Schulenberg <bens>
Open/Closed: ClosedRelease: None

Fri 13 Sep 2013 09:28:06 PM UTC, original submission:

Nano goes astray when the mark is on, some characters are marked, but the cursor is on the same line as the mark, and then an M-T is done -- the whole edit window is then highlighted, as if the mark was at its beginning instead of where it was. If then a ^K is done, Nano either hangs or segfaults.

The patch fixes this by updating the data in the mark_begin variable when mark and cursor were on the same line.

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


Attached Files
file #29129:  update-the-marked-data.patch added by bens (1KiB - text/x-patch - updates content of marker when it's on current line)


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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 22 Feb 2014 04:48:42 PM UTCbensStatusNone=>Done
      Assigned toNone=>bens
      SummaryFix segfault or hang after M-A, right, right, M-T, ^K.=>Fix hang (or segfault) after M-A, right, M-T, (left,) ^K.
    Fri 13 Sep 2013 09:28:06 PM UTCbensAttached File-=>Added update-the-marked-data.patch, #29129

    Back to the top

    Powered by Savane 3.1-cleanup1