Skip to content

dir: Validate GVariant structure before using generated variant readers - #6779

Merged
swick merged 1 commit into
flatpak:mainfrom
swick:wip/gvariant-validation
Aug 19, 2026
Merged

swick merged 1 commit into
flatpak:mainfrom
swick:wip/gvariant-validation

Conversation

@swick

@swick swick commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

Reject summaries, subsummaries, and summary indexes that are not in GVariant normal form before passing them to the generated variant accessor framework, which performs direct pointer arithmetic without structural validation.

Reject summaries, subsummaries, and summary indexes that are not in
GVariant normal form before passing them to the generated variant
accessor framework, which performs direct pointer arithmetic without
structural validation.
@swick
swick added this pull request to the merge queue Aug 19, 2026
Merged via the queue into flatpak:main with commit 5a6c442 Aug 19, 2026
16 of 17 checks passed
@swick
swick deleted the wip/gvariant-validation branch August 19, 2026 14:42
@swick swick mentioned this pull request Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants