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 authentication level.

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

Submitter:  Benno Schulenberg <bens>
Submitted:  Fri 13 Sep 2013 11:20:01 AM UTC
   
 
Priority:  5 - Normal Status:  Done
Privacy:  Public Assigned to:  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>
Group administrator
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>
Group administrator
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>
Group administrator
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>
Group administrator

 

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

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

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-22 bens Open/ClosedOpen Closed
    2014-01-26 astyanax StatusNeed Info Done
    2014-01-26 astyanax StatusNone Need Info
        Assigned toNone astyanax
    2013-09-13 bens Attached File- Added pasting-into-the-mark-two.patch, #29127

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code