Fix CID 1134499

This commit is contained in:
Anton Kochkov 2014-04-26 01:30:46 +04:00
parent d5d32e333f
commit 2cddd89890

View File

@ -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;
}