Repository navigation
Vendor qnxprobe 1.57 - #264
Merged
Merged
Conversation
An NTFS-compressed file with a compression unit that ends early, at a zero chunk header, was read short: the row kept the recorded size and the hash was of the bytes before that unit. The reader now returns the rest of the unit as zeros, as ntfs-3g and The Sleuth Kit do, so the copy and its hash are the whole file. Two of 17,442 compression units on four public Windows images end that way; the others decode to the same bytes as before. A unit whose bytes are not an LZNT1 stream now raises NtfsUnreadable, which the walk already handles as a file the reader declined. The test changes one unit of the Windows-written fixture and holds the row to the digest The Sleuth Kit gave for the same changed image. With the 1.56 reader the row hashed as the file's first 65,536 bytes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Vendors qnxprobe 1.57. An NTFS-compressed file with a compression unit that ends early was read short from a walked disk image: the row kept its recorded size and was hashed as the bytes before that unit. It is now read whole, with the rest of that unit as zeros.