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

OpenBSD: Work around endless loop when opening certain files in sqshfs2. #47

Merged
merged 2 commits into from
Aug 20, 2023

Conversation

Gottox
Copy link
Owner

@Gottox Gottox commented Aug 20, 2023

No description provided.

This is needed for consistent behavior between implementations that
ignore desired_size and implementations that honor it.
OpenBSD requests a chunk of data at the end of the file. Currently
sqsh_file_reader_advance() returns an error in this case. This
commit works around this behavior by returning early when
zero size is requested.
@Gottox Gottox changed the title OpenBSD: Fix endless loop when opening certain files in sqshfs2. OpenBSD: Work around endless loop when opening certain files in sqshfs2. Aug 20, 2023
@Gottox Gottox merged commit 2382ef3 into main Aug 20, 2023
9 checks passed
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