-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #18 - Handle malformed files with incorrect chunk sizes
Detect files that specify chunk sizes that are larger than the actual file length. Ignore any chunks at the end of the file that are smaller than the minimum chunk size (of 8 bytes).
- Loading branch information
1 parent
b0ebd64
commit 32c0b17
Showing
2 changed files
with
43 additions
and
2 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
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