Skip to content

Vendor qnxprobe 1.57 - #264

Merged
abrignoni merged 1 commit into
mainfrom
chore/qnxprobe-1.57
Oct 2, 2026
Merged

abrignoni merged 1 commit into
mainfrom
chore/qnxprobe-1.57

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

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.

  • Two of 17,442 compression units on four public Windows images end that way. The others decode to the same bytes as before.
  • Adds a test on a changed copy of the Windows-written fixture, held to the digest The Sleuth Kit gave. It fails with the 1.56 reader.

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]>
@abrignoni
abrignoni merged commit 4ae4398 into main Oct 2, 2026
8 checks passed
@abrignoni
abrignoni deleted the chore/qnxprobe-1.57 branch October 2, 2026 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant