bug-binutils
[Top][All Lists]
Advanced

[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

https://sourceware.org/bugzilla/show_bug.cgi?id=26539

            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
(/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98662)
     #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).

/mnt/data/testoutput/readelf-intriguer/afl-slave/hangs//id:000002,src:002887+002401,op:splice,rep:2

-- 
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]