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

Batch of patches to allow json extensions #419

Merged
merged 4 commits into from
Jun 30, 2024

Conversation

keszybz
Copy link
Member

@keszybz keszybz commented Jun 30, 2024

No description provided.

poettering and others added 4 commits June 29, 2024 08:50
This is a subset of JSON_PERMISSIVE focussed on allowing parsing of
varlink replies that get extended, i.e. gain new fields, without
allowing more than that (i.e. without allowing missing fields, or bad
field types or such).

(cherry picked from commit a617fd9)
The JSON ovmf data on Fedora at least has more fields than we expect,
ignore it.

(cherry picked from commit 1f459f3)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2294768.
If we want to allow method replies to be extended without this breaking
compat, then we should set this flag. Do so at various method call
replies hence.

Also do it when parsing user/group records, which are expressly
documented to be extensible, as well as the hibernate JSON record.

(cherry picked from commit f0e4244)
Follow-up for f0e4244.

(cherry picked from commit 0c61995)
@bluca bluca merged commit bfd97c5 into systemd:v255-stable Jun 30, 2024
41 of 44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants