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()

Signed-off-by: zhenweijin <zhenwei.jin@intel.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