Skip to content

fix: reject invalid notification cli numbers - #2

Open
tonycoder-hub wants to merge 1 commit into
openharmony:masterfrom
tonycoder-hub:fix/reject-invalid-notification-cli-numbers
Open

fix: reject invalid notification cli numbers#2
tonycoder-hub wants to merge 1 commit into
openharmony:masterfrom
tonycoder-hub:fix/reject-invalid-notification-cli-numbers

Conversation

@tonycoder-hub

Copy link
Copy Markdown

Summary

  • parse publish numeric options with full-consumption integer conversion
  • reject malformed and out-of-range notification IDs, slot types, badge counts, and deletion times
  • preserve valid command behavior

Verification

  • git diff --check

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