Correctly remove leading slashes upon extraction (thanks to Marius Groeger).
This commit is contained in:
parent
1d9d41150b
commit
7f7348b7b2
@ -490,7 +490,7 @@ readTarHeader(struct TarHeader *rawHeader, struct TarInfo *header)
|
||||
static int alreadyWarned=FALSE;
|
||||
|
||||
while (*(header->name) == '/')
|
||||
++*(header->name);
|
||||
header->name++;
|
||||
|
||||
if (alreadyWarned == FALSE) {
|
||||
error_msg("Removing leading '/' from member names");
|
||||
|
Loading…
Reference in New Issue
Block a user