wasm-micro-runtime/core/iwasm
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
..
aot Always allocate linear memory using mmap (#3052) 2024-02-02 22:17:44 +08:00
common Always allocate linear memory using mmap (#3052) 2024-02-02 22:17:44 +08:00
compilation Fix read and validation of misc/simd/atomic sub opcodes (#3115) 2024-02-02 12:03:58 +08:00
doc Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00
fast-jit Fix read and validation of misc/simd/atomic sub opcodes (#3115) 2024-02-02 12:03:58 +08:00
include wasm_runtime_begin_blocking_op: A comment about usage expectation (#3056) 2024-01-19 18:31:21 +08:00
interpreter Fix possible integer overflow in loader target block check (#3133) 2024-02-05 16:00:58 +08:00
libraries wasi: Apply wasm_runtime_begin_blocking_op to poll as well (#3080) 2024-01-25 16:29:34 +08:00
README.md Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00