Repository navigation
fix: file-header length check in central directory neglected file comment, and in local header was too stringent by one byte #1340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+177
−21
Merged
Changes from 1 commit
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
b2aa5bd
Fix: file length check neglected file comment, but was also too strin…
Pr0methean 37f1218
Fix: expose file comment in public API
Pr0methean 0ad12c0
cargo fmt --all
Pr0methean 816d8bd
Fix off-by-one in fuzz
Pr0methean 1fba8f6
Tweak: sum local and central sizes separately before calculating limit
Pr0methean c9a50cb
Fix: comment is only included in central header size
Pr0methean dabb0fd
Fix: type inference for `sum()` stopped working for some stupid reason
Pr0methean 5d046c4
Fix: extra_field_length is used in header block, so check extra_field…
Pr0methean e04341c
cargo fmt --all
Pr0methean a1bd236
Update test_extra_field_too_long()
Pr0methean a2371cd
Address review comments
Pr0methean 4b13d12
Add unit tests
Pr0methean 6c98bfd
cargo fmt --all
Pr0methean File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix off-by-one in fuzz
- Loading branch information
commit 816d8bd1725dc1aacaabbd0ee151cba7fe3baafe
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.