Repository navigation
Take a DirData entry without a null as broken, rather than read its name one byte off - #132
Merged
Merged
Conversation
- Drop the three tests of form.rs, and check the header alone and data too short for it in one test of storage.rs - Drop the test of one plain entry, which the test of two entries in storage.rs covers Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ame one byte off - Stop at an entry whose declared length is too short and which has no null before the end of the data; its end was taken to be one past the data, and its name was read one byte off - Find the start and end of the payload of the next entry in a function of its own, which shortens the loop over the entries Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
CoverageFor 847e9ff. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
parse_dir_data: 8 / 9 / 28 → 5 / 4 / 15). Tests: 1114 → 1112.🤖 Generated with Claude Code