Skip to content

fix: reject invalid VMA numeric suffixes - #2

Open
tonycoder-hub wants to merge 1 commit into
openharmony:masterfrom
tonycoder-hub:fix/parse-vma-numeric-suffix
Open

fix: reject invalid VMA numeric suffixes#2
tonycoder-hub wants to merge 1 commit into
openharmony:masterfrom
tonycoder-hub:fix/parse-vma-numeric-suffix

Conversation

@tonycoder-hub

Copy link
Copy Markdown

Reject malformed and overflowing VMA offset and type suffixes before converting them.

The parser now requires full consumption with std::from_chars and returns INVALID_MODULE_PATH for invalid input instead of propagating conversion exceptions.

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