SharpZipLib icon indicating copy to clipboard operation
SharpZipLib copied to clipboard

Symbolic link in TAR archive throws unauthorized exception

Open ThomasHoest opened this issue 10 years ago • 1 comments

When decompressing a TAR file with a symbolic link the entry name becomes empty and it tries to decompress to the parent folder. LF_SYMLINK should be handled in GetNextEntry on the TarInputStream.

ThomasHoest avatar Sep 21 '15 11:09 ThomasHoest

On further investigation it only happens when it is the last file in the archive. After SkipToNextEntry it is not checked if EOF has been hit

ThomasHoest avatar Sep 21 '15 11:09 ThomasHoest