wasm-micro-runtime/core/iwasm/interpreter
Wenyong Huang b8ff98c810
Fix possible integer overflow in loader target block check (#3133)
Checking with `loader_ctx->csp_num < depth + 1` has potential integer overflow
issue when depth is UINT_MAX, change to `loader_ctx->csp_num - 1 < depth`
instead.

Reported in https://github.com/bytecodealliance/wasm-micro-runtime/issues/3130.
2024-02-05 16:00:58 +08:00
..
iwasm_interp.cmake Implement wasm mini loader and refine footprint of loader and runtime (#276) 2020-06-08 11:19:09 +08:00
SConscript add porting codes of rt-thread (#494) 2021-01-14 11:26:35 +08:00
wasm_interp_classic.c EH: Fix broken stack usage calculation (#3121) 2024-02-03 12:21:15 +08:00
wasm_interp_fast.c Implement Exception Handling for classic interpreter (#3096) 2024-01-31 08:27:17 +08:00
wasm_interp.h Implement Exception Handling for classic interpreter (#3096) 2024-01-31 08:27:17 +08:00
wasm_loader.c Fix possible integer overflow in loader target block check (#3133) 2024-02-05 16:00:58 +08:00
wasm_loader.h Fix build error when enable custom section without interpreter (#1229) 2022-06-15 18:14:39 +08:00
wasm_mini_loader.c Fix possible integer overflow in loader target block check (#3133) 2024-02-05 16:00:58 +08:00
wasm_opcode.h Implement Exception Handling for classic interpreter (#3096) 2024-01-31 08:27:17 +08:00
wasm_runtime.c Always allocate linear memory using mmap (#3052) 2024-02-02 22:17:44 +08:00
wasm_runtime.h Implement Exception Handling for classic interpreter (#3096) 2024-01-31 08:27:17 +08:00
wasm.h Implement Exception Handling for classic interpreter (#3096) 2024-01-31 08:27:17 +08:00