[Nasm-bugs] [Bug 3392762] Heap use-after-free while using %clear inside a macro.

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Thu Jun 3 13:50:02 PDT 2021


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

Marco <mvanotti at protonmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mvanotti at protonmail.com

--- Comment #2 from Marco <mvanotti at protonmail.com> ---
Thanks for the reply, Peter.

So a reasonable fix would be to disallow usage of %clear inside multi-line
macros?

Something like:

* Disable %clear
* Disable %clear all
* Disable %clear macro

I have never used context-local macros, so I am probably missing something
there.

-- 
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