diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/unarchive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/unarchive.c b/libbb/unarchive.c index a2ae0cb..782efd0 100644 --- a/libbb/unarchive.c +++ b/libbb/unarchive.c @@ -621,7 +621,7 @@ file_header_t *get_header_tar(FILE *tar_stream) if (tar.formated.prefix[0]) { char *temp = tar_entry->name; - char *prefixTemp = strndup(tar.formated.prefix, 155); + char *prefixTemp = xstrndup(tar.formated.prefix, 155); tar_entry->name = concat_path_file(prefixTemp, temp); free(temp); free(prefixTemp); |