Bug in nasm preproc
Mathieu Monnier
mathieu.monnier at polytechnique.org
Sun Sep 10 03:01:42 PDT 2006
The nasm preprocessor is writing into an unvalid memory address when
preprocessing the attached asm file. That unvalid access is happening as
soon as a macro with a number of arguments multiple of 16 was used.
Also attached is the patch fixing the issue. After that patch, valgrind
doesn't complain anymore.
Regards,
Mathieu Monnier
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nasmpp.fix.patch
Url: http://cvs.tortall.net/pipermail/yasm-devel/attachments/20060910/da48703d/attachment.ksh
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test.asm
Url: http://cvs.tortall.net/pipermail/yasm-devel/attachments/20060910/da48703d/attachment-0001.ksh
More information about the yasm-devel
mailing list