Repository navigation
Require libheif 1.23.4 and offer security updates for HEIC support - #137
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Schist downloaded libheif 1.23.2 and accepted older system libraries, exposing HEIC imports and previews to vulnerabilities fixed in subsequent releases. Pin all seven managed downloads to libheif-prebuilt v1.23.4-1, with verified SHA-256 hashes, and require libheif 1.23.4 or later before initialization or image parsing.
Both desktop and headless loaders reject older libraries and libraries without a verifiable version. Imports and gallery thumbnails reuse the existing consented download-and-retry flow when an update can help, including when an older managed copy is already installed. Failed checksum verification preserves the existing file, and an already installed current artifact does not cause repeated download prompts.
Update Linux package recommendations, runtime requirements, and documentation. All four security messages are translated in all 149 non-English locale catalogs, with version placeholders and technical identifiers preserved. Norwegian and Serbo-Croatian aliases stay synchronized with their source catalogs.
Validation completed:
make check-layered-codecs— codec and preview tests plus Clippy with warnings denied.SCHIST_REQUIRE_HEIF=1 make check-heif— version rejection, upgrade eligibility, checksum protection, and real RGB/alpha/ICC/HDR imports with skipping disabled.schist_library.make check-layered-codecs-app,make check-library, andmake check-i18n. The full localization checks were rerun after translation, including font coverage and catalog alias synchronization; a focused audit also verifies that all 596 translated messages replace the English fallbacks.