wasm-micro-runtime/core/iwasm
Georgii Rylov c1723b8f3e
libc_wasi_wrapper.c: Fix min func issue for size_t < 8 bytes on some platforms (#2152)
According to the 1999 ISO C standard (C99), size_t is an unsigned integer type of
at least 16 bit (see sections 7.17 and 7.18.3), it may be uint32 in 32-bit platforms:
https://en.cppreference.com/w/cpp/types/size_t

Calling function `size_t min(size_t, size_t)` with two uint64 arguments may get
invalid result.

Co-authored-by: Georgii Rylov <godjan@amazon.co.uk>
2023-04-26 21:03:02 +08:00
..
aot Fix issues reported by Coverity (#2083) 2023-03-29 19:40:52 +08:00
common Add support for universal binaries on OSX (#2060) 2023-03-30 09:53:07 +08:00
compilation Implement Fast JIT multi-threading feature (#2134) 2023-04-20 10:09:34 +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 Implement Fast JIT multi-threading feature (#2134) 2023-04-20 10:09:34 +08:00
include Rename parameter names in wasm_runtime_instantiate (#2045) 2023-03-22 17:39:08 +08:00
interpreter Refine aot compiler check suspend_flags and fix issue of multi-tier jit (#2111) 2023-04-07 06:47:24 +08:00
libraries libc_wasi_wrapper.c: Fix min func issue for size_t < 8 bytes on some platforms (#2152) 2023-04-26 21:03:02 +08:00
README.md Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00