diff options
Diffstat (limited to 'utils.c')
-rw-r--r-- | utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -173,7 +173,7 @@ read_binary_string(char **from, size_t len, const char *max) } result = xmalloc(len); - strncpy(result, *from, len); + memcpy(result, *from, len); *from += len; return result; } |