mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-09 07:42:25 +00:00
Fix CID 1135114
This commit is contained in:
parent
f7767d4f15
commit
90d5fc576d
@ -421,7 +421,7 @@ write_instr_name_(struct arcDisState * state,
|
||||
int addrWriteBack,
|
||||
int directMem)
|
||||
{
|
||||
strcpy (state->instrBuffer, instrName);
|
||||
strncpy (state->instrBuffer, instrName, sizeof (state->instrBuffer));
|
||||
if (cond > 0)
|
||||
{
|
||||
const char *cc = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user