wasm-micro-runtime/core
Yi Liu 595dcd564f
Fix off-by-one in aot_alloc_tiny_frame overflow check (#4845)
* 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.
2026-03-03 13:48:42 +08:00
..
deps Separate app-manager and app-framework from WAMR (#3129) 2024-02-20 18:12:36 +08:00
iwasm Fix off-by-one in aot_alloc_tiny_frame overflow check (#4845) 2026-03-03 13:48:42 +08:00
shared Improve zephyr's networking code (#4839) 2026-02-25 16:40:57 -08:00
config.h add micro AMR_BUILD_LIME1 to enable minimal lime1 feature set (#4571) 2025-09-14 14:08:27 +08:00
version.h Bump version number to 2.4.3 (#4671) 2025-10-23 13:15:25 +08:00
version.h.in Add version.h and update versioning documentation for embedded platforms 2025-02-05 10:31:20 +00:00