Skip to content

Require both AppImage magic bytes - #264

Open
dajiaohuang wants to merge 1 commit into
AppImageCommunity:mainfrom
dajiaohuang:validate-appimage-magic-bytes
Open

dajiaohuang wants to merge 1 commit into
AppImageCommunity:mainfrom
dajiaohuang:validate-appimage-magic-bytes

Conversation

@dajiaohuang

@dajiaohuang dajiaohuang commented Oct 4, 2026 •

Copy link
Copy Markdown

AppImage type detection currently rejects the prefix only when both bytes are wrong. Rejecting when either byte is wrong prevents malformed files with a type marker of 1 or 2 from passing this check.

Validation: git diff --check passed. No tests were run. Current upstream CI is blocked before source compilation: the Docker dependency-install step receives HTTP 404 for Debian Bullseye security packages, including libssl-dev. See the current-head x86_64 build. A passing build remains unverified.

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