GNU nano - Bugs: bug #52948, option 'trimblanks' crashes after...
You are not allowed to post comments on this tracker with your current authentication level.
bug #52948: option 'trimblanks' crashes after inserting a <Space> caused hard-wrapping
Submitter: | Andreas Schamanek <aschamanek> | ||
Submitted: | Mon 22 Jan 2018 12:57:24 PM UTC | ||
Severity: | 5 - Blocker | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Jump to the original submission
Tue 30 Jan 2018 09:53:47 AM UTC, comment #6: |
Benno Schulenberg <bens> |
Wed 24 Jan 2018 08:17:47 PM UTC, comment #5: Hi Benno!
|
Andreas Schamanek <aschamanek> |
Tue 23 Jan 2018 12:13:28 PM UTC, comment #4: Fixed in git, for all types of whitespace, commit 91073be4. |
Benno Schulenberg <bens> |
Tue 23 Jan 2018 12:00:47 PM UTC, comment #3: The fix is not good enough. It leaves a trailing space when the <Space> was typed before an existing space. To see what I mean, do:
|
Benno Schulenberg <bens> |
Mon 22 Jan 2018 08:53:34 PM UTC, comment #2: Thanks for reporting. And thanks for testing. Attached is the patch as I have it sitting in a branch. |
Benno Schulenberg <bens> |
Mon 22 Jan 2018 01:11:01 PM UTC, comment #1: The verbatim/code block in the original submission initially shows only 60 characters of the text. Below 2 shorter lines will produce the same test.txt:
|
Andreas Schamanek <aschamanek> |
Mon 22 Jan 2018 12:57:24 PM UTC, original submission:
As mentioned in Segfaults in libc-2.19 w/ 2.9.2 we found a bug in nano 2.9.2 related to trimblanks.
I.e., 1 line of 55chars, 1 space and another 13 non-space chars.
|
Andreas Schamanek <aschamanek> |
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 7 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2018-01-30 | bens | Open/Closed | Open | Closed | |
2018-01-23 | bens | Status | In Progress | Fixed | |
2018-01-22 | bens | Attached File | - | Added 0001-wrapping-don-t-trim-a-blank-character-that-the-user-.patch, #43031 | |
Severity | 3 - Normal | 5 - Blocker | |||
Status | None | In Progress | |||
Assigned to | None | bens | |||
Summary | trimblanks crash when wrapping | option 'trimblanks' crashes after inserting a <Space> caused hard-wrapping |
Powered by Savane 3.13-758e.
Corresponding source code
Fix has been released in 2.9.3. Thanks again for cathing and reporting it.