Skip to content

Conversation

@Werkov
Copy link
Contributor

@Werkov Werkov commented Jun 24, 2020

(Apologies for confusion around #16122 and #16248)

Reviewing once again I spotted this bug in the second patch originally in #16058.
I post a fixup accompanied with a test. (Similar logic is replicated both in load-fragment.c and bus-unit-util.c (for other properties too), which would be worth refactoring and unifying, however, that'd be much bigger change. So far, the DBus variant is uncovered (and unaffected by this bug).)

Werkov added 2 commits June 24, 2020 23:16
This fixes commit db2b8d2 that
rectified parsing empty values but broke parsing explicit infinity.
Intended parsing semantics will be captured in a testcase in a follow up
commit.

Ref: systemd#16248
This covers parsing from configuration files only. Properties set via
DBus have separate code path whose testing would require DBus setup.
@keszybz keszybz merged commit e60d3b1 into systemd:master Jun 25, 2020
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.

2 participants