bugGNU nano - Bugs: bug #47206, memory leak in file browser

 
 

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

bug #47206: memory leak in file browser

Submitter:  Benno Schulenberg <bens>
Submitted:  Sat 20 Feb 2016 02:50:37 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Thu 25 Feb 2016 02:18:47 PM UTC, comment #1: 

Fixed in SVN, r5676, and in a better way in r5677.

Benno Schulenberg <bens>
Group administrator
Sat 20 Feb 2016 02:50:37 PM UTC, original submission:  

To reproduce, run 'src/nano', and type: ^R  ^T  <Enter>  ^C  ^C  ^X.

==5034== 32 bytes in 1 blocks are definitely lost in loss record 288 of 344
==5034==    at 0x4025016: realloc (vg_replace_malloc.c:525)
==5034==    by 0x806102F: nrealloc (utils.c:400)
==5034==    by 0x8061077: null_at (utils.c:128)
==5034==    by 0x804AB47: striponedir (browser.c:874)
==5034==    by 0x804BBAD: do_browser (browser.c:325)
==5034==    by 0x804BDC4: do_browse_from (browser.c:412)
==5034==    by 0x8051844: do_insertfile (files.c:1194)
==5034==    by 0x8051B02: do_insertfile_void (files.c:1384)
==5034==    by 0x8057BDD: do_input (nano.c:1722)
==5034==    by 0x8058731: main (nano.c:2681)

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
    2016-02-27 bens Open/ClosedOpen Closed
    2016-02-25 bens StatusNone Fixed
        Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code