Skip to content

models: Fix crash from malformed app metadata files - #889

Merged
tchx84 merged 1 commit into
tchx84:masterfrom
Malika7188:fix/app-metadata-crash
Aug 31, 2026
Merged

tchx84 merged 1 commit into
tchx84:masterfrom
Malika7188:fix/app-metadata-crash

Conversation

@Malika7188

Copy link
Copy Markdown
Contributor

Flatseal reads an app's own metadata file to show its permissions in
the app info viewer. Parsing that file had no error handling, if it
was unreadable or contained invalid syntax, the exception went
uncaught. This is only reachable when opening a specific app's
details, so it would crash Flatseal there rather than at startup.

Includes a regression test using a fixture app with a malformed
metadata file.

@tchx84
tchx84 merged commit 1981c46 into tchx84:master Aug 31, 2026
1 check 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.

2 participants