[Top][All Lists]

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

[Bug binutils/26539] New: memory leak in inflate.c

From: featherrain26 at gmail dot com
Subject: [Bug binutils/26539] New: memory leak in inflate.c
Date: Wed, 26 Aug 2020 13:22:27 +0000


            Bug ID: 26539
           Summary: memory leak in inflate.c
           Product: binutils
           Version: 2.36 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: featherrain26 at gmail dot com
  Target Milestone: ---

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

Hi, there.

There are multiple memory leak in inflate.c

To reproduce, run:
readelf -agteSdcWw --dyn-syms -D  poc

Here is the trace reported by ASAN:
==140728==ERROR: LeakSanitizer: detected memory leaks

 Direct leak of 28640 byte(s) in 4 object(s) allocated from:
     #0 0x7f7c7a27a662 in malloc
     #1 0x6d3230 in inflateInit2_ ../../zlib/inflate.c:223
     #2 0x6d3230 in inflateInit_ ../../zlib/inflate.c:244

 SUMMARY: AddressSanitizer: 28640 byte(s) leaked in 4 allocation(s).


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]