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

Fix header length handling (again) #2

Merged
merged 2 commits into from
Feb 14, 2022
Merged

Fix header length handling (again) #2

merged 2 commits into from
Feb 14, 2022

Conversation

niklasha
Copy link
Owner

@niklasha niklasha commented Feb 14, 2022

Revert the last change to the header length check. Properly skip any additional fields, and make the correct check, also remove an entirely bogus check.This is tested, with both the test image in the tests/ directory, as well as newly created images by qemu-img (6.2) on both MacOS and OpenBSD, according to this issue

niklas added 2 commits February 14, 2022 10:42
…oblem was that additional fields was not handled at all. Do this handling and check the header length properly. Also, remove an entirely bogus check.
@niklasha niklasha changed the title Revert the last change to the header length check. Properly skip any additional fields, and make the correct check, also remove an entirely bogus check. This is tested, with both the test image in the tests/ directory, as well as newly created images by qemu-img (6.2) on both MacOS and OpenBSD, according to this [issue](https://github.com/vasi/qcow2-fuse/issues/4) Fix header length handling (again) Feb 14, 2022
@niklasha niklasha merged commit b7a661f into master Feb 14, 2022
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