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

Commits on Aug 20, 2023

  1. file_iterator: always map at least one block.

    This is needed for consistent behavior between implementations that
    ignore desired_size and implementations that honor it.
    Gottox committed Aug 20, 2023
    Configuration menu
    Copy the full SHA
    5289c86 View commit details
    Browse the repository at this point in the history
  2. tools/fs-common.c: workaround error at end of file

    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 committed Aug 20, 2023
    Configuration menu
    Copy the full SHA
    d32ea29 View commit details
    Browse the repository at this point in the history