[Nasm-bugs] [Bug 3392673] memory leaks in nasmlib/malloc.c:75

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Wed May 27 19:44:27 PDT 2020


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

--- Comment #4 from puppet at zju.edu.cn ---
The results of POC-10_000809 and POC_14_000111 become SEGV on  2.15rc1. 

The ASAN logs are as follows:

=================================================================
==56279==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000090 (pc
0x00000044196e bp 0x7fffffffdef0 sp 0x7fffffffdd50 T0)
    #0 0x44196d in expand_mmac_params asm/preproc.c:4769
    #1 0x448f14 in pp_tokline asm/preproc.c:6362
    #2 0x4493e7 in pp_getline asm/preproc.c:6429
    #3 0x408fb9 in assemble_file asm/nasm.c:1630
    #4 0x404bcd in main asm/nasm.c:637
    #5 0x7ffff6ac082f in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
    #6 0x402378 in _start (/data3/ASAN/nasm-ac30bd6/nasm+0x402378)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV asm/preproc.c:4769 expand_mmac_params
==56279==ABORTING




The ASAN logs of POC_14_000296 and POC_14_000333:

==47472==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 478 byte(s) in 2 object(s) allocated from:
    #0 0x7ffff6f02602 in malloc
(/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
    #1 0x40a981 in nasm_malloc nasmlib/alloc.c:55
    #2 0x433984 in new_Token asm/preproc.c:1819
    #3 0x4333a2 in tokenize asm/preproc.c:1693
    #4 0x448b41 in pp_tokline asm/preproc.c:6327
    #5 0x4493e7 in pp_getline asm/preproc.c:6429
    #6 0x408fb9 in assemble_file asm/nasm.c:1630
    #7 0x404bcd in main asm/nasm.c:637
    #8 0x7ffff6ac082f in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

.......
SUMMARY: AddressSanitizer: 1091 byte(s) leaked in 17 allocation(s).

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


More information about the Nasm-bugs mailing list