wasm-micro-runtime/core/iwasm
liang.he c7b2683f17
Fix out of bounds issue in is_native_addr_in_shared_heap function (#3886)
When checking for integer overflow, you may often write tests like p + i < p.
This works fine if p and i are unsigned integers, since any overflow in the
addition will cause the value to simply "wrap around." However, using this
pattern when p is a pointer is problematic because pointer overflow has
undefined behavior according to the C and C++ standards. If the addition
overflows and has an undefined result, the comparison will likewise be
undefined; it may produce an unintended result, or may be deleted entirely
by an optimizing compiler.
2024-10-31 12:44:55 +08:00
..
aot Fix mmap flags for AOT loader on non-Linux SGX platforms (#3890) 2024-10-30 13:18:54 +08:00
common Fix out of bounds issue in is_native_addr_in_shared_heap function (#3886) 2024-10-31 12:44:55 +08:00
compilation Fix some compile warnings and typos (#3854) 2024-10-15 16:04:58 +08:00
doc Fix some more spelling issues (#3393) 2024-05-08 09:30:29 +08:00
fast-jit Add support for multi-memory proposal in classic interpreter (#3742) 2024-08-21 12:22:23 +08:00
include Allow to set native stack boundary to exec_env (#3862) 2024-10-18 12:49:57 +08:00
interpreter Fix out of bounds issues after memory.grow on non-aot non-threads builds (#3872) 2024-10-23 14:48:40 +08:00
libraries Add Windows wamrc and iwasm build in release CI (#3857) 2024-10-17 10:01:56 +08:00
README.md Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00