wasm-micro-runtime/core/iwasm/libraries
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
..
debug-engine Update release notes and fix issues reported by Coverity (#1813) 2022-12-20 14:37:07 +08:00
lib-pthread Use pre-created exec_env for instantiation and module_malloc/free (#2047) 2023-03-23 19:19:47 +08:00
lib-rats Create module hash for each module in SGX lib-rats (#1745) 2022-11-24 21:48:50 +08:00
lib-socket Use wasi-sdk-20 to build wasi-threads cases in CI (#2095) 2023-04-03 08:43:11 +08:00
lib-wasi-threads Add test for validating linear memory size updates (#2078) 2023-04-08 19:07:20 +08:00
libc-builtin Clear some warnings and enable -Werror for NuttX (#1756) 2022-11-28 09:44:33 +08:00
libc-emcc Expose wasm_runtime_call_indirect (#1969) 2023-02-20 18:56:55 +08:00
libc-uvwasi Add wasm_runtime_get_wasi_exit_code (#1748) 2022-11-24 20:26:18 +08:00
libc-wasi 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
thread-mgr Fix issues reported by Coverity (#2053) 2023-03-24 14:05:17 +08:00
wasi-nn Bump tensorflow in /core/iwasm/libraries/wasi-nn/test (#2061) 2023-03-28 16:36:59 +08:00