GNU nano - Bugs: bug #65505, setting an interface color twice...
You are not allowed to post comments on this tracker with your current authentication level.
bug #65505: setting an interface color twice leaks some memory
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Fri 22 Mar 2024 02:50:18 PM UTC | ||
Severity: | 2 - Minor | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Open |
Sat 23 Mar 2024 10:14:23 AM UTC, comment #1: |
Benno Schulenberg <bens> |
Fri 22 Mar 2024 02:50:18 PM UTC, original submission:
To reproduce, compile nano with -fsanitize=address, then run:
Then type: ^X
(For some reason valgrind does not detect this leak.)
|
Benno Schulenberg <bens> |
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 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2024-03-23 | bens | Status | In Progress | Fixed | |
2024-03-22 | bens | Status | None | In Progress |
Powered by Savane 3.13-02a9.
Corresponding source code
Fixed in git, commit f4754bfb, by always first freeing 'color_combo[x]' before assigning it the specified value.