mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2026-04-19 02:28:43 +00:00
* Fix off-by-one in aot_alloc_tiny_frame overflow check The boundary check in aot_alloc_tiny_frame only verifies that new_frame itself doesn't exceed top_boundary, but doesn't account for the sizeof(AOTTinyFrame) bytes that are about to be written. When new_frame equals top_boundary exactly, the check passes but the subsequent write to new_frame->func_index goes past the boundary. This matches the correct pattern used in aot_alloc_frame (line 4086) which includes the frame size. |
||
|---|---|---|
| .. | ||
| arch | ||
| debug | ||
| aot_intrinsic.c | ||
| aot_intrinsic.h | ||
| aot_loader.c | ||
| aot_perf_map.c | ||
| aot_perf_map.h | ||
| aot_reloc.h | ||
| aot_runtime.c | ||
| aot_runtime.h | ||
| aot_validator.c | ||
| aot_validator.h | ||
| iwasm_aot.cmake | ||
| SConscript | ||