[Nasm-bugs] [Bug 3392524] New: There are seious memory leaks in nasm2.14rc16.
noreply-nasm at gorcunov.org
noreply-nasm at gorcunov.org
Mon Oct 29 04:15:06 PDT 2018
https://bugzilla.nasm.us/show_bug.cgi?id=3392524
Bug ID: 3392524
Summary: There are seious memory leaks in nasm2.14rc16.
Product: NASM
Version: 2.14 (development)
Hardware: All
OS: All
Status: OPEN
Severity: normal
Priority: Medium
Component: Assembler
Assignee: nobody at nasm.us
Reporter: ganshuitao at gmail.com
CC: gorcunov at gmail.com, hpa at zytor.com, nasm-bugs at nasm.us
Obtained from: Build from source archive using configure
version:nasm2.14rc16
Summary:
There are seious memory leaks in nasm2.14rc16.
Description:
The asan debug is as follows:
$./nasm -f bin POC3 -o xxx
...
poc3:51: error: parser: instruction expected
poc3:40: ... from macro `proc' defined here
poc3:52: error: (arg:2) expression syntax error
poc3:45: ... from macro `arg' defined here
poc3:70: error: `%%to1': not in a macro call
=================================================================
==65340==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 512 byte(s) in 7 object(s) allocated from:
#0 0x7ff7b336c9aa in malloc
(/usr/lib/x86_64-linux-gnu/libasan.so.2+0x989aa)
#1 0x40e478 in nasm_malloc nasmlib/malloc.c:59
#2 0x4bd707
(/home/company/real_sanitize/poc_check/nasm/nasm_new_addr+0x4bd707)
Direct leak of 182 byte(s) in 30 object(s) allocated from:
#0 0x7ff7b336c9aa in malloc
(/usr/lib/x86_64-linux-gnu/libasan.so.2+0x989aa)
#1 0x40e478 in nasm_malloc nasmlib/malloc.c:59
Indirect leak of 144 byte(s) in 6 object(s) allocated from:
#0 0x7ff7b336c9aa in malloc
(/usr/lib/x86_64-linux-gnu/libasan.so.2+0x989aa)
#1 0x40e478 in nasm_malloc nasmlib/malloc.c:59
Indirect leak of 128 byte(s) in 4 object(s) allocated from:
#0 0x7ff7b336c9aa in malloc
(/usr/lib/x86_64-linux-gnu/libasan.so.2+0x989aa)
#1 0x40e478 in nasm_malloc nasmlib/malloc.c:59
#2 0x4bd707
(/home/company/real_sanitize/poc_check/nasm/nasm_new_addr+0x4bd707)
SUMMARY: AddressSanitizer: 966 byte(s) leaked in 47 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