https://sourceware.org/bugzilla/show_bug.cgi?id=23496
Bug ID: 23496 Summary: Memory Leak of objdump Product: binutils Version: 2.31 Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: lqliuyuwei at outlook dot com Target Milestone: --- Created attachment 11168 --> https://sourceware.org/bugzilla/attachment.cgi?id=11168&action=edit the poc file on ubuntu 16.04 64bit, binutils 2.31 How to reproduce: 1. compile: CC="gcc -fsanitize=address" CXX="g++ -fsanitize=address" ../configure 2. objdump -d poc asan info: ==82201==ERROR: LeakSanitizer: detected memory leaks Direct leak of 336 byte(s) in 1 object(s) allocated from: #0 0x7fb3e3986602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602) #1 0x488c62 in bfd_malloc ../../bfd/libbfd.c:271 #2 0x61200000bebf (<unknown module>) #3 0x65880f (/home/marsman/Desktop/crashana/binutils/bin/objdump+0x65880f) Direct leak of 184 byte(s) in 1 object(s) allocated from: #0 0x7fb3e3986602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602) #1 0x488c62 in bfd_malloc ../../bfd/libbfd.c:271 SUMMARY: AddressSanitizer: 520 byte(s) leaked in 2 allocation(s) -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils