Skip to content

validate heap_type in load_import_table_list#4827

Open
kylo5aby wants to merge 1 commit intobytecodealliance:mainfrom
kylo5aby:heap-type-check
Open

validate heap_type in load_import_table_list#4827
kylo5aby wants to merge 1 commit intobytecodealliance:mainfrom
kylo5aby:heap-type-check

Conversation

@kylo5aby
Copy link
Contributor

@kylo5aby kylo5aby commented Feb 5, 2026

add validation to ensure heap_type to be either a valid type index (0 <= heap_type < type_count) or a valid common heap type via wasm_is_valid_heap_type()

@kylo5aby kylo5aby force-pushed the heap-type-check branch 2 times, most recently from 80b1527 to 3547d18 Compare February 6, 2026 06:39
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