[Nasm-bugs] [Bug 3392758] New: AddressSanitizer: 1 memory leaks of nasm_calloc()

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Wed May 19 01:10:55 PDT 2021


https://bugzilla.nasm.us/show_bug.cgi?id=3392758

            Bug ID: 3392758
           Summary: AddressSanitizer: 1 memory leaks of nasm_calloc()
           Product: NASM
           Version: unspecified
          Hardware: All
                OS: All
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: cfenicey at gmail.com
                CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
                    hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Binary from nasm.us

Created attachment 411820
  --> https://bugzilla.nasm.us/attachment.cgi?id=411820&action=edit
./nasm -f bin $POC -o ./tmp

$ ./nasm -f bin $POC -o ./tmp  

ASAN info:
=================================================================
==31075==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 2816 byte(s) in 16 object(s) allocated from:
    #0 0x7f7e84d2f79a in __interceptor_calloc
(/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)
    #1 0x409d46 in nasm_calloc nasmlib/alloc.c:72

Direct leak of 48 byte(s) in 12 object(s) allocated from:
    #0 0x7f7e84d2f602 in malloc
(/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
    #1 0x409d0b in nasm_malloc nasmlib/alloc.c:55

Indirect leak of 18816 byte(s) in 450 object(s) allocated from:
    #0 0x7f7e84d2f79a in __interceptor_calloc
(/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)
    #1 0x409d46 in nasm_calloc nasmlib/alloc.c:72

SUMMARY: AddressSanitizer: 21680 byte(s) leaked in 478 allocation(s).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


More information about the Nasm-bugs mailing list