[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/26375] New: A memory leak in get_data

From: 15664243668 at 163 dot com
Subject: [Bug binutils/26375] New: A memory leak in get_data
Date: Wed, 12 Aug 2020 10:22:24 +0000


            Bug ID: 26375
           Summary: A memory leak in get_data
           Product: binutils
           Version: 2.34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: 15664243668 at 163 dot com
  Target Milestone: ---

Created attachment 12764
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12764&action=edit

I have found a memory leak in get_data of Binutils-2.34. This bug is triggered
$./readelf -a PoC
I compile the binutils-2.34 to the 64-bit LSB version with AddressSanitizer in
Ubuntu 16.04 and print the debug information.

==30101==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 2053 byte(s) in 1 object(s) allocated from:
    #0 0x7f390d037b40 in __interceptor_malloc
    #1 0x55f13c7587a3 in get_data
    #2 0x55f13c9f254f 

SUMMARY: AddressSanitizer: 2053 byte(s) leaked in 1 allocation(s).

The PoC file is in attachment.

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]