Skip to content

fix: reject invalid IC stack positions - #3

Open
tonycoder-hub wants to merge 1 commit into
openharmony:masterfrom
tonycoder-hub:fix/parse-ic-stack-position
Open

fix: reject invalid IC stack positions#3
tonycoder-hub wants to merge 1 commit into
openharmony:masterfrom
tonycoder-hub:fix/parse-ic-stack-position

Conversation

@tonycoder-hub

Copy link
Copy Markdown

Guard source-map stack position parsing against malformed and overflowing line or column numbers.

The trace path now uses full-consume std::from_chars parsing and skips translation when either coordinate is invalid instead of throwing.

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