[Nasm-devel] [PATCH] preproc: prohibit unmacro while macro expansion

H. Peter Anvin hpa at zytor.com
Thu Dec 31 00:39:41 PST 2020


On 12/30/20 11:09 PM, Cyrill Gorcunov wrote:
> On Wed, Dec 30, 2020 at 08:01:04PM -0800, hpa at zytor.com wrote:
>>
>> Could we make it a nonfatal error? Fatal is for situations where
>> there is no possible way to proceed. I would issue a nonfatal
>> error and then proceed without removing the macro.
> 
> This would issue use after free back, I guess.
> 

*Without* removing the macro; i.e. issue the error and then resume. If that's
not possible because we have already clobbered stuff, then well, by all means.

	-hpa



More information about the Nasm-devel mailing list