-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tp: Support base-256 size in TAR and handle TAR directories properly
This fixes an issue where a Tar file created with tar -cf <file> some_folder/ fails to load. Added support for base-256 encoded size fields in TAR headers, with proper overflow detection and rejection of negative sizes. Fixed handling of directory entries to ensure they are skipped correctly. Change-Id: Ia5d2c20136b260eb74e20aa395a956d77e934759
- Loading branch information
1 parent
6d542c4
commit 83ab27a
Showing
1 changed file
with
58 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters