mainGNU tar - Support: sr #109242, tar 1.29.90 leaks memory when...


sr #109242: tar 1.29.90 leaks memory when displaying --help

Submitter:  Brian Carpenter <geeknik>
Submitted:  Sun 29 Jan 2017 05:12:26 AM UTC
Category:  None Priority:  5 - Normal
Severity:  4 - Important Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup

Sun 29 Jan 2017 05:12:26 AM UTC, original submission:  

tar 1.29.90 (git commit 2bfacfe3d0bafee8b44dd2cab32202277c5a6c5c)

./tar --help
Usage: tar [OPTION...] [FILE]...
GNU 'tar' saves many files together into a single tape or disk archive, and can


This tar defaults to:
--format=gnu -f- -b20 --quoting-style=escape
--rmt-command=/usr/local/libexec/rmt --rsh-command=/usr/bin/rsh

==20506==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 141 byte(s) in 2 object(s) allocated from:
    #0 0x4aa6cb in __interceptor_malloc (/root/tar/src/tar+0x4aa6cb)
    #1 0x7ff1c22ea51f in __vasprintf_chk /build/glibc-qK83Be/glibc-2.19/debug/vasprintf_chk.c:80

SUMMARY: AddressSanitizer: 141 byte(s) leaked in 2 allocation(s).

Brian Carpenter <geeknik>


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

Attach Files:

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 geeknik (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.

    Only logged-in users can vote.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code