Skip to content

fix: validate distributed notification ids - #4

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

fix: validate distributed notification ids#4
tonycoder-hub wants to merge 1 commit into
openharmony:masterfrom
tonycoder-hub:fix/parse-distributed-notification-id

Conversation

@tonycoder-hub

Copy link
Copy Markdown

Validate the numeric identifier encoded in distributed notification keys with std::from_chars. Invalid or overflowing keys now fail resolution instead of silently producing zero.

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