mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-04 20:39:46 +00:00
Fix CID 1134490
This commit is contained in:
parent
51736bd435
commit
d5d32e333f
@ -108,7 +108,7 @@ static void emit_arg (REgg *egg, int xs, int num, const char *str) {
|
||||
case 0:
|
||||
if (strchr (str, ',')) {
|
||||
//r_egg_printf (egg, ". str r0, [%s]\n", str);
|
||||
strncpy (lastargs[num-1], str, sizeof(lastargs[0]));
|
||||
strncpy (lastargs[num-1], str, sizeof(lastargs[0])-1);
|
||||
} else {
|
||||
if (!atoi (str)) eprintf ("WARNING: probably a bug?\n");
|
||||
r_egg_printf (egg, " mov r0, $%s\n", str);
|
||||
|
Loading…
x
Reference in New Issue
Block a user