diff options
-rw-r--r-- | libbb/unarchive.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbb/unarchive.c b/libbb/unarchive.c index 78260d2d6..adc5d8d6e 100644 --- a/libbb/unarchive.c +++ b/libbb/unarchive.c @@ -492,7 +492,9 @@ file_header_t *get_header_tar(FILE *tar_stream) } if (fread(tar.raw, 1, 512, tar_stream) != 512) { - error_msg("Couldnt read header"); + /* Unfortunatly its common for tar files to have all sorts of + * trailing garbage, fail silently */ +// error_msg("Couldnt read header"); return(NULL); } archive_offset += 512; |