patchGNU nano - Patches: patch #8180, Fix segfault when using ^U^K when...

 
 

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

patch #8180: Fix segfault when using ^U^K when mark is on.

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Fri 13 Sep 2013 11:20:01 AM UTC  
 
Category: NonePriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Chris Allegretta <astyanax>Open/Closed: Closed
Release: None

Mon 27 Jan 2014 08:27:21 AM UTC, comment #3:

Ah! Forgot to refer to the mail that contains the original bug report, including a reproducder, that I sent a year earlier:
https://lists.gnu.org/archive/html/nano-devel/2012-07/msg00000.html

Preferred email address is: < bensberg at justemail.net >.

Benno Schulenberg <bens>
Project Member
Sun 26 Jan 2014 10:46:58 PM UTC, comment #2:

Oh scratch that, brain working better now, you said ^U then ^K.

This looks good to me, applied and credited to you. Do you have a preferred email address I should use for your entries?

Chris Allegretta <astyanax>
Project AdministratorIn charge of this item.
Sun 26 Jan 2014 10:27:20 PM UTC, comment #1:

Hey Benno,

This patch looks sane, but can you provide a reproducer for the bad condition? My mind seems too feeble to be able to come up with one :)

Chris Allegretta <astyanax>
Project AdministratorIn charge of this item.
Fri 13 Sep 2013 11:20:01 AM UTC, original submission:

In some situations, when the mark is on and the cursor is on the same line as the mark, pasting something with ^U followed by a ^K results in a segmentation fault. The patch fixes this.

Benno Schulenberg <bens>
Project Member

 

Attached Files
file #29127:  pasting-into-the-mark-two.patch added by bens (576B - text/x-patch - refresh the data of the line with the mark when something was pasted into it)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by astyanax (Posted a comment)
  • -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 01:56:00 PM UTCbensOpen/ClosedOpen=>Closed
    Sun 26 Jan 2014 10:46:58 PM UTCastyanaxStatusNeed Info=>Done
    Sun 26 Jan 2014 10:27:20 PM UTCastyanaxStatusNone=>Need Info
      Assigned toNone=>astyanax
    Fri 13 Sep 2013 11:20:01 AM UTCbensAttached File-=>Added pasting-into-the-mark-two.patch, #29127

    Back to the top


    Powered by Savane 3.1-cleanup