mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-25 07:15:19 +00:00
Fix CID 1147120
This commit is contained in:
parent
73e2047e4f
commit
beab537a55
@ -308,7 +308,7 @@ R_API int r_cmd_macro_add(RCmdMacro *mac, const char *oname) {
|
||||
pbody[lidx]='\0';
|
||||
}
|
||||
strncpy (macro->code, pbody, macro->codelen);
|
||||
macro->code[macro->codelen] = 0;
|
||||
macro->code[macro->codelen-1] = 0;
|
||||
//strcat (macro->code, ",");
|
||||
#if 0
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user