GNU nano - Bugs: bug #65586, invalid read when cutting an...
You are not allowed to post comments on this tracker with your current authentication level.
bug #65586: invalid read when cutting an autoindented region
Submitter: | correctmost <correctmost> | ||
Submitted: | Fri 12 Apr 2024 11:27:19 PM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Open |
Sat 13 Apr 2024 02:38:43 PM UTC, comment #2: |
Benno Schulenberg <bens> |
Sat 13 Apr 2024 02:24:47 PM UTC, comment #1: A recipe that shows visible wrong behavior:
Then type: abc <Left> <Left> M-A <Left> <Space> <Enter> ^K
|
Benno Schulenberg <bens> |
Fri 12 Apr 2024 11:27:19 PM UTC, original submission:
Steps to reproduce:
|
correctmost <correctmost> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
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 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2024-04-13 | bens | Status | In Progress | Fixed | |
Summary | invalid read when cutting autoindented region | invalid read when cutting an autoindented region | |||
2024-04-13 | bens | Status | None | In Progress | |
Assigned to | None | bens |
Powered by Savane 3.13-caa5.
Corresponding source code
Fixed in git, commit c695d49a, by pulling the adjustment of the mark forward, to before changing 'current_x' when the newly created line would be entirely blank.
Bug existed since version 2.8.1, commit 005ee8ed: "avoid creating blank lines when using autoindent".
Thanks for searching, and finding, and reporting!