mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 01:32:08 +00:00
Skip headers with empty filenames, rather than stopping.
This commit is contained in:
parent
b9f5b82339
commit
e0244b0642
@ -595,7 +595,7 @@ static int readTarFile(int tarFd, int extractFlag, int listFlag,
|
||||
}
|
||||
}
|
||||
if ( *(header.name) == '\0' )
|
||||
goto endgame;
|
||||
continue;
|
||||
header.tarFd = tarFd;
|
||||
|
||||
/* Skip funky extra GNU headers that precede long files */
|
||||
|
Loading…
Reference in New Issue
Block a user