bugGNU nano - Bugs: bug #53088, nano leaks memory when toggling...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #53088: nano leaks memory when toggling from Search to Goto-line

Submitter:  Benno Schulenberg <bens>
Submitted:  Wed 07 Feb 2018 04:30:21 PM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Wed 07 Feb 2018 06:58:14 PM UTC, comment #1: 

Fixed in git, commit 9ceeabda.

Benno Schulenberg <bens>
Group administrator
Wed 07 Feb 2018 04:30:21 PM UTC, original submission:  

To reproduce, run:

  valgrind --leak-check=full nano 2>TRAIL

and type: ^W oops ^T ^C ^X
Then look at TRAIL and see:

==29640== 5 bytes in 1 blocks are definitely lost in loss record 15 of 480
==29640==    at 0x4C31D2F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.s>
==29640==    by 0x12B81F: nrealloc (utils.c:366)
==29640==    by 0x1203FD: do_statusbar_output (prompt.c:223)
==29640==    by 0x120AE8: do_statusbar_input (prompt.c:128)
==29640==    by 0x120E55: acquire_an_answer (prompt.c:471)
==29640==    by 0x121057: do_prompt (prompt.c:630)
==29640==    by 0x1248B6: search_init (search.c:132)
==29640==    by 0x124D7E: do_search (search.c:356)
==29640==    by 0x124DC3: do_search_forward (search.c:373)
==29640==    by 0x11F010: do_input (nano.c:1756)
==29640==    by 0x11FF39: main (nano.c:2663)

Benno Schulenberg <bens>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Submitted the item)
  •  

    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
    2018-03-09 bens Open/ClosedOpen Closed
    2018-02-07 bens StatusNone Fixed
        Summarynano leaks memory when toggling between search and goto-line nano leaks memory when toggling from Search to Goto-line

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code