Perform various checks on tar file entries.
This function checks a sequence of tar entries for file name security problems. It checks that:
- file paths are not absolute
- file paths do not contain any path components that are "
- file names are valid
These checks are from the perspective of the current OS. That means we check
C:blah" files on Windows and "/blah" files on Unix. For archive
SymbolicLink the same checks are done for the
link target. A failure in any entry terminates the sequence of entries with