Skip to content

Conversation

kylo5aby
Copy link
Contributor

@kylo5aby kylo5aby commented Aug 7, 2025

Add bounds checking to prevent ref_type_map_count (which is come from the sum of every sub local count) from exceeding
UINT16_MAX.

@TianlongLiang
Copy link
Collaborator

Also, will this issue also affect resolve_struct_type and resolve_func_type ?

@kylo5aby
Copy link
Contributor Author

kylo5aby commented Aug 8, 2025

Also, will this issue also affect resolve_struct_type and resolve_func_type ?

resolved

Copy link
Collaborator

@xujuntwt95329 xujuntwt95329 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lum1n0us lum1n0us merged commit feecaf6 into bytecodealliance:main Aug 13, 2025
448 of 453 checks passed
@lum1n0us lum1n0us added the bug-fix Determine if this PR addresses a bug. It will be used by scripts to classify PRs. label Aug 13, 2025
@kylo5aby kylo5aby deleted the gc1 branch August 13, 2025 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix Determine if this PR addresses a bug. It will be used by scripts to classify PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants