Skip to content

fix: reject overflowing camera applist ids - #5

Open
tonycoder-hub wants to merge 1 commit into
openharmony:masterfrom
tonycoder-hub:fix/parse-camera-applist-ids
Open

fix: reject overflowing camera applist ids#5
tonycoder-hub wants to merge 1 commit into
openharmony:masterfrom
tonycoder-hub:fix/parse-camera-applist-ids

Conversation

@tonycoder-hub

Copy link
Copy Markdown

Replace camera applist stoi conversions with full-consume int32 parsing.

Malformed or overflowing screen-mode and JSON key values now follow the existing invalid or skip paths instead of throwing.

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

@tonycoder-hub