Skip to content

fix: reject invalid NAPI IC stack positions - #4

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

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

Conversation

@tonycoder-hub

Copy link
Copy Markdown

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

Invalid coordinates now skip translation instead of throwing from stoi.

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