bytecodealliance / wasm-micro-runtime

WebAssembly Micro Runtime (WAMR)
Apache License 2.0
4.66k stars 577 forks source link

Add a checker if indices might overflow UINT32_MAX #3579

Closed lum1n0us closed 1 day ago

lum1n0us commented 2 days ago

69920

may just pick one between this one and https://github.com/bytecodealliance/wasm-micro-runtime/pull/3577

TianlongLiang commented 2 days ago

LGTM

yamt commented 1 day ago

can you do the same for other resources as well? memories, tables, tags.

lum1n0us commented 1 day ago

Sure. But since wamr haven't support multi-tables and multi-memories yet, I'll patch tag only.