diff options
-rw-r--r-- | archival/libunarchive/get_header_tar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/get_header_tar.c b/archival/libunarchive/get_header_tar.c index 19793b7..eeabf3f 100644 --- a/archival/libunarchive/get_header_tar.c +++ b/archival/libunarchive/get_header_tar.c @@ -109,7 +109,7 @@ extern char get_header_tar(archive_handle_t *archive_handle) } else #endif { - file_header->name = strndup(tar.formated.name,100); + file_header->name = bb_xstrndup(tar.formated.name,100); if (tar.formated.prefix[0]) { char *temp = file_header->name; |