wasm-micro-runtime/core/iwasm/libraries
liang.he 8bd6794de6
libc-wasi: add missing pointer validations to socket functions (#4611) (#4665)
* libc-wasi: add missing pointer validations to socket functions (#4611)
cf. https://github.com/bytecodealliance/wasm-micro-runtime/issues/4463
the fix for sock_addr_resolve is incomplete.
cf. https://github.com/bytecodealliance/wasm-micro-runtime/issues/4610

* Sync from main branch
  - wasi_sock_recv doesn't use src_addr
  - check src_addr before coverting

* CI: use windows-2022 image for now (#4633)

github is currently rolling out windows-2025 image.
for some reasons, the "path_symlink_trailing_slashes" test case in
wasi testsuite fails on windows-2025 image.
someone familar with windows need to investigate what was the
key difference between 2022 and 2025.
until that happens, this commit makes our CI use windows-2022 image.

cf.
https://github.com/bytecodealliance/wasm-micro-runtime/issues/4632
https://github.com/actions/runner-images/issues/12677

---------

Co-authored-by: YAMAMOTO Takashi <yamamoto@midokura.com>
2025-10-14 09:29:30 +08:00
..
debug-engine send an empty/error reply from server (#4362) 2025-06-17 13:00:58 +08:00
lib-pthread Add Windows wamrc and iwasm build in release CI (#3857) 2024-10-17 10:01:56 +08:00
lib-rats Keep fix the CMake compatibility issue (#4180) 2025-04-15 12:51:19 +08:00
lib-socket lib-socket: make getaddrinfo return EAI_ values (#4498) 2025-07-21 09:21:31 +08:00
lib-wasi-threads fix: correct typos and improve comments across multiple files by codespell (#4116) 2025-03-07 08:21:54 +08:00
libc-builtin libc-builtin: Fix function prototype for wasm_runtime_module_realloc (#3702) 2024-08-13 17:44:58 +08:00
libc-emcc libc-emcc: Use alternate method to check getrandom support (#3848) 2024-10-10 10:57:47 +08:00
libc-uvwasi Bump uvwasi to latest commit #392e1f1 (#4312) 2025-06-03 13:21:17 +08:00
libc-wasi libc-wasi: add missing pointer validations to socket functions (#4611) (#4665) 2025-10-14 09:29:30 +08:00
shared-heap Implement shared heap for AOT (#3815) 2024-09-29 12:50:59 +08:00
simde Keep fix the CMake compatibility issue (#4180) 2025-04-15 12:51:19 +08:00
thread-mgr Fix potential integer overflow issues (#4429) 2025-07-01 13:39:30 +08:00
wasi-nn wasi-nn: add a comment on load_by_name_with_config (#4492) 2025-07-17 09:50:49 +08:00