GNU nano - Bugs: bug #60172, memory leak in...
You are not allowed to post comments on this tracker with your current authentication level.
bug #60172: memory leak in precalc_multicolorinfo()
Submitter: | Mike Frysinger <vapier> | ||
Submitted: | Fri 05 Mar 2021 02:15:08 AM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Jump to the original submission
Fri 30 Apr 2021 10:37:18 AM UTC, comment #7: |
Benno Schulenberg <bens> |
Fri 05 Mar 2021 05:53:02 PM UTC, comment #6: thanks, i wasn't expecting a review of my customizations ;). the file has been around a long time as you can tell. i think all my random systems have updated to at least nano-4 at this point, so i can refresh some of these like your keybinding suggestions.
|
Mike Frysinger <vapier> |
Fri 05 Mar 2021 04:20:40 PM UTC, comment #5: By the way, from seeing your unbind commands: M-Q nowadays repeats a backward search (instead of toggling tabs-to-spaces), so you might want to not unbind that keystroke? And M-B in the main menu nowadays invokes the linter (when the syntax defines one), but I can imagine you still want to unbind that one. And M-N in the main menu toggles line numbers, which might sometimes be useful?
|
Benno Schulenberg <bens> |
Fri 05 Mar 2021 10:26:48 AM UTC, comment #4: Fixed in git, commit 49ca7e5a. Thanks for reporting. |
Benno Schulenberg <bens> |
Fri 05 Mar 2021 10:08:39 AM UTC, comment #3: The offending commit is 1fdd23d3: "for a large paste or insertion, recalculate the multiline cache". |
Benno Schulenberg <bens> |
Fri 05 Mar 2021 10:06:48 AM UTC, comment #2: Confirmed. When CFLAGS contains "-fsanitize=address -O0", the leak can be reproduced with:
and then typing: M-T ^U ^X ^N
|
Benno Schulenberg <bens> |
Fri 05 Mar 2021 02:16:52 AM UTC, comment #1: the log isn't clear but this is v5.6 as in d7853df8b6e791769ed1b81d679e94becafb8a76 |
Mike Frysinger <vapier> |
Fri 05 Mar 2021 02:15:08 AM UTC, original submission:
$ nano --version
|
Mike Frysinger <vapier> |
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 |
---|---|---|---|---|---|
2021-04-30 | bens | Open/Closed | Open | Closed | |
2021-03-05 | bens | Summary | memory leak from precalc_multicolorinfo | memory leak in precalc_multicolorinfo() | |
2021-03-05 | bens | Status | None | Fixed | |
2021-03-05 | bens | Assigned to | None | bens |
Powered by Savane 3.13-4448.
Corresponding source code
The leak fix was released in nano-5.7. Thanks for reporting.