summaryrefslogtreecommitdiff
path: root/disasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'disasm.c')
-rw-r--r--disasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disasm.c b/disasm.c
index ec145be..6a2554b 100644
--- a/disasm.c
+++ b/disasm.c
@@ -1553,7 +1553,7 @@ int32_t eatbyte(uint8_t *data, char *output, int outbufsize, int segsize)
}
if (str)
- strcpy(output, str);
+ snprintf(output, outbufsize, "%s", str);
return 1;
}