GNU nano - Bugs: bug #65196, when the formatter command is...
You are not allowed to post comments on this tracker with your current authentication level.
bug #65196: when the formatter command is "", running the formatter crashes nano
Submitter: | correctmost <correctmost> | ||
Submitted: | Tue 23 Jan 2024 06:55:09 PM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Open |
Fri 26 Jan 2024 10:15:20 AM UTC, comment #1: |
Benno Schulenberg <bens> |
Tue 23 Jan 2024 06:55:09 PM UTC, original submission:
~/.nanorc contents:
|
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 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2024-01-26 | bens | Status | None | Fixed | |
2024-01-24 | bens | Assigned to | None | bens | |
Summary | Crash when running formatter command with empty formatter argument | when the formatter command is "", running the formatter crashes nano |
Powered by Savane 3.13-02a9.
Corresponding source code
Fixed in git, commit 367f84b0, by aborting the formatter when the command string is empty.
The fix is improved in commit 0e72c0d3, by stripping leading blanks from that string first.
Thanks for reporting.