mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-13 10:24:45 +00:00
Fix CID 1134499
This commit is contained in:
parent
d5d32e333f
commit
2cddd89890
@ -53,7 +53,7 @@ static inline int r_asm_pseudo_org(RAsm *a, char *input) {
|
||||
|
||||
static inline int r_asm_pseudo_hex(RAsmOp *op, char *input) {
|
||||
int len = r_hex_str2bin (input, op->buf);
|
||||
strncpy (op->buf_hex, r_str_trim (input), R_ASM_BUFSIZE);
|
||||
strncpy (op->buf_hex, r_str_trim (input), R_ASM_BUFSIZE-1);
|
||||
return len;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user