Skip to content

Commit

Permalink
For streamed archives, sizes should be initialized to 0
Browse files Browse the repository at this point in the history
Noticed by Yufan You.
  • Loading branch information
0-wiz-0 committed Jul 30, 2024
1 parent 842540e commit d87121a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified regress/incons-streamed.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions regress/open_incons.test
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ opening 'incons-local-filename.zzip' returned error 21/6
opening 'incons-local-magic-bad.zzip' returned error 19
opening 'incons-local-size-larger.zzip' returned error 21/6
opening 'incons-stored-size.zzip' succeeded, 1 entries
opening 'incons-streamed.zzip' returned error 21/6
opening 'incons-streamed.zzip' succeeded, 1 entries
end-of-inline-data
stderr
34 errors
33 errors
end-of-inline-data
Binary file modified regress/streamed.zip
Binary file not shown.

0 comments on commit d87121a

Please sign in to comment.