forked from Imagelibrary/binutils-gdb
PR26500, ASAN: tic4x_inst_make tc-tic4x.c:1247
PR 26500 * tc-tic4x.c (tic4x_inst_make): Don't die on terminating insn with name = "".
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2020-08-25 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR 26500
|
||||
* tc-tic4x.c (tic4x_inst_make): Don't die on terminating insn
|
||||
with name = "".
|
||||
|
||||
2020-08-25 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR 26441
|
||||
|
||||
@@ -1242,9 +1242,8 @@ tic4x_inst_make (const char *name, unsigned long opcode, const char *args)
|
||||
insts[iindex].args = args;
|
||||
iindex++;
|
||||
|
||||
do
|
||||
while (*name)
|
||||
*names++ = *name++;
|
||||
while (*name);
|
||||
*names++ = '\0';
|
||||
|
||||
return &insts[iindex - 1];
|
||||
|
||||
Reference in New Issue
Block a user