Read beyond buffer bugfix.
This commit is contained in:
parent
4f2c482416
commit
715717a4f6
|
@ -384,6 +384,8 @@ static void writeout(void)
|
||||||
{
|
{
|
||||||
printf(" &opchoice[%d], /* %d = %s */\n", elem[i], i, em_mnem[i]);
|
printf(" &opchoice[%d], /* %d = %s */\n", elem[i], i, em_mnem[i]);
|
||||||
}
|
}
|
||||||
|
printf(" &opchoice[%d], /* %d = %s */\n", elem[sp_lmnem - sp_fmnem + 1],
|
||||||
|
sp_lmnem - sp_fmnem + 1, "");
|
||||||
printf("} ;\n");
|
printf("} ;\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue