aboutsummaryrefslogtreecommitdiff
path: root/tar.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-05-01 21:12:31 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-05-01 21:12:31 +0000
commit80bae69d1f26fe7ee76101814497bf317804e73b (patch)
treeddccbd20b6a4da821687e119f9876ce219573941 /tar.c
parentb4b932bb824872214f7405940ef1100eb7b5da59 (diff)
downloadbusybox-w32-80bae69d1f26fe7ee76101814497bf317804e73b.tar.gz
busybox-w32-80bae69d1f26fe7ee76101814497bf317804e73b.tar.bz2
busybox-w32-80bae69d1f26fe7ee76101814497bf317804e73b.zip
Skip headers with empty filenames, rather than stopping.
git-svn-id: svn://busybox.net/trunk/busybox@2508 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'tar.c')
-rw-r--r--tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar.c b/tar.c
index 4bf8004ea..eb085c770 100644
--- a/tar.c
+++ b/tar.c
@@ -595,7 +595,7 @@ static int readTarFile(int tarFd, int extractFlag, int listFlag,
595 } 595 }
596 } 596 }
597 if ( *(header.name) == '\0' ) 597 if ( *(header.name) == '\0' )
598 goto endgame; 598 continue;
599 header.tarFd = tarFd; 599 header.tarFd = tarFd;
600 600
601 /* Skip funky extra GNU headers that precede long files */ 601 /* Skip funky extra GNU headers that precede long files */