GNU nano - Bugs: bug #65317, with --cutfromcursor, undoing a...
You are not allowed to post comments on this tracker with your current authentication level.
bug #65317: with --cutfromcursor, undoing a justification can eat a line
Submitter: | correctmost <correctmost> | ||
Submitted: | Thu 15 Feb 2024 06:38:02 AM UTC | ||
Severity: | 4 - Important | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Open |
Fri 16 Feb 2024 03:11:30 PM UTC, comment #2: |
Benno Schulenberg <bens> |
Thu 15 Feb 2024 03:36:57 PM UTC, comment #1: Oww... Concentrating again on visible misbehavior, run:
Note that the first paragraph begins with "Nano is a small and simple".
|
Benno Schulenberg <bens> |
Thu 15 Feb 2024 06:38:02 AM UTC, original submission:
These steps are almost the same as the steps from bug #65289 except a paragraph is justified instead of the entire buffer.
|
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-02-16 | bens | Status | None | Fixed | |
2024-02-15 | bens | Severity | 3 - Normal | 4 - Important | |
Assigned to | None | bens | |||
Summary | heap-buffer-overflow in copy_of() when undoing a paragraph justification | with --cutfromcursor, undoing a justification can eat a line |
Powered by Savane 3.13-02a9.
Corresponding source code
Fixed in git, commit 190221c9, by setting 'current_x' always to zero when a paragraph is found.
This "random typing" of your scripts is pretty good at finding bugs. Thanks for reporting!