[Nasm-bugs] [Bug 3392670] heap-use-after-free in asm/preproc.c:5058

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


--- Comment #3 from puppet at zju.edu.cn ---
Hi, the bug becomes memory leaks on 2.15rc1. 

The ASAN logs are as follows:

==4612==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 186 byte(s) in 3 object(s) allocated from:
    #0 0x7ffff6f02602 in malloc
    #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

SUMMARY: AddressSanitizer: 186 byte(s) leaked in 3 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