Skip to content

fix: validate distributed preference booleans - #3

Open
tonycoder-hub wants to merge 1 commit into
openharmony:masterfrom
tonycoder-hub:fix/parse-distributed-preference-bools
Open

fix: validate distributed preference booleans#3
tonycoder-hub wants to merge 1 commit into
openharmony:masterfrom
tonycoder-hub:fix/parse-distributed-preference-bools

Conversation

@tonycoder-hub

Copy link
Copy Markdown

Parse distributed preference boolean values with std::from_chars and require complete input consumption. Malformed values no longer become true because of an accepted numeric prefix.

No build or test run in this change; the PR is opened for upstream review first.

Signed-off-by: Tony Coder 407243179@qq.com

Signed-off-by: Tony Coder <407243179@qq.com>
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