[Nasm-bugs] [Bug 3392640] git nasm: condition code macro parameter as first of two parameters crashes nasm
noreply-nasm at dev.nasm.us
noreply-nasm at dev.nasm.us
Thu Feb 6 14:07:18 PST 2020
https://bugzilla.nasm.us/show_bug.cgi?id=3392640
--- Comment #2 from Chang S. Bae <chang.seok.bae at intel.com> ---
(In reply to Chang S. Bae from comment #1)
It looks like this simple fix cures the issue:
diff --git a/asm/preproc.c b/asm/preproc.c
index 585843a4..d2154c13 100644
--- a/asm/preproc.c
+++ b/asm/preproc.c
@@ -4278,8 +4278,6 @@ static Token *expand_mmac_params(Token * tline)
unsigned long n;
char *ep;
- text = NULL;
-
n = strtoul(t->text + 2, &ep, 10);
if (unlikely(*ep))
goto invalid;
--
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