Bug ID: 26154
           Summary: nm-new: attempting free on address which was not
           Product: binutils
           Version: 2.34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: feidiyin at gmail dot com
  Target Milestone: ---

Created attachment 12645
The Poc to trigger this bug

When I was fuzzing nm-new with ASAN, I got this ERROR:
==1352==ERROR: AddressSanitizer: attempting free on address which was not
malloc()-ed: 0xf3f03b60 in thread T0
    #0 0xf7ad1a84 in free (/usr/lib32/
    #1 0x84784a3 in _bfd_coff_free_symbols
    #2 0x84784a3 in _bfd_coff_close_and_cleanup
    #3 0x80b8254 in bfd_close_all_done
    #4 0x80b8254 in bfd_close
    #5 0x805ae7c in display_file
    #6 0x804f335 in main
    #7 0xf7898636 in __libc_start_main (/lib/i386-linux-gnu/
    #8 0x8050efb 

0xf3f03b60 is located 736 bytes inside of 1745-byte region
allocated by thread T0 here:
    #0 0xf7ad1f8e in calloc (/usr/lib32/
    #1 0x80aae3e in bfd_malloc
    #2 0x80aae3e in bfd_zmalloc
    #3 0x867ba8b 

SUMMARY: AddressSanitizer: bad-free ??:0 free

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

Reply via email to