GNU nano - Bugs: bug #47124, memory leak w/status bar
You are not allowed to post comments on this tracker with your current authentication level.
bug #47124: memory leak w/status bar
Submitter: | Mike Frysinger <vapier> | ||
Submitted: | Thu 11 Feb 2016 11:59:33 PM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Jump to the original submission
Sat 20 Feb 2016 12:19:08 PM UTC, comment #6: |
Benno Schulenberg <bens> |
Sat 20 Feb 2016 10:42:06 AM UTC, comment #5: Okay, I get it now. When tabbing on a string that has no completion, get_history_completion() simply returns the passed string. What then happens is 'answer = mallocstrcpy(answer, answer) -- destination equals source, destination is not freed and reallocated, so source is lost.
|
Benno Schulenberg <bens> |
Fri 19 Feb 2016 08:02:00 PM UTC, comment #4: The loss happens somewhere in get_history_completion(). |
Benno Schulenberg <bens> |
Fri 19 Feb 2016 11:44:31 AM UTC, comment #3: Finally found a way to reproduce this (because of typing the wrong key while trying to reproduce something else):
|
Benno Schulenberg <bens> |
Sat 13 Feb 2016 01:03:02 AM UTC, comment #2: i did hit up to go to a recent match, then tried a few keystrokes to try and delete some words (like alt+d) which didn't work. i don't recall the exact sequence or keys or i would post them :). |
Mike Frysinger <vapier> |
Fri 12 Feb 2016 10:39:54 AM UTC, comment #1: Cannot reproduce. What did you search for? In which file? Did you use <Up> to retrieve an earlier search string, did you edit the retrieved string? |
Benno Schulenberg <bens> |
Thu 11 Feb 2016 11:59:33 PM UTC, original submission:
=================================================================
|
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 |
---|---|---|---|---|---|
2016-02-27 | bens | Open/Closed | Open | Closed | |
2016-02-20 | bens | Status | In Progress | Fixed | |
2016-02-19 | bens | Status | None | In Progress | |
2016-02-12 | bens | Assigned to | None | bens |
Powered by Savane 3.13-758e.
Corresponding source code
Fixed in SVN, r5653.
Thanks for reporting.