Skip to content

squashfs: properly count written bytes#347

Merged
deitch merged 1 commit intomasterfrom
fix-squashfs-sigsegv
Mar 19, 2026
Merged

squashfs: properly count written bytes#347
deitch merged 1 commit intomasterfrom
fix-squashfs-sigsegv

Conversation

@deitch
Copy link
Collaborator

@deitch deitch commented Mar 19, 2026

After compressing a block, the output buffer is much smaller. However, we still assumed the length of the block to be the whole size of the original. This led to a "slice out of bounds" error.

Signed-off-by: Avi Deitcher <avi@deitcher.net>
@deitch deitch merged commit fc97b5a into master Mar 19, 2026
20 checks passed
@deitch deitch deleted the fix-squashfs-sigsegv branch March 19, 2026 08:37
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