-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release/9.0] [Tar] Fill in the file size even if the file is empty. (#…
…107633) * [Tar] Fill in the file size even if the file is empty. This matches standard behavior. * fix tests, set size only when datastream is not null * Add unit tests for size header of an empty file * Scope disposables Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com> * Update test to verify entry can be read after confirming the sequence is correct. Add test to verify that entries created with the malformed size field are still readable after the bug fix. --------- Co-authored-by: Szymon Sobik <sobik.szymon@gmail.com> Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
- Loading branch information
1 parent
593af2b
commit c04c2b7
Showing
2 changed files
with
70 additions
and
1 deletion.
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