Skip to content
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

DS_Store - Fix block size computation #637

Merged
merged 1 commit into from
Jan 16, 2023

Conversation

SkypLabs
Copy link
Contributor

Hi,

Missing parentheses in the .DS_Store file description cause wrong computation of block sizes.

I was quite surprised to find this bug, as everything worked well when I submitted the file description to the format gallery years ago. I tried to reproduce the setup I used at that time (Kaitai Struct compiler and runtime in version 0.8, etc.), but in vain. Just like if the bug has always been there. Anyway, this PR fixes the issue.

You can find sample files for testing in my original PR (#131).

Thanks.

Missing parentheses cause wrong computation of block sizes.
Copy link
Member

@generalmimon generalmimon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SkypLabs Thanks!

@generalmimon generalmimon merged commit 483e2a7 into kaitai-io:master Jan 16, 2023
@SkypLabs SkypLabs deleted the fix-ds-store-block-size branch January 16, 2023 11:10
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.

None yet

2 participants