Skip to content

fix(wamr): Fix networking capability for all platforms#174

Merged
kr-t merged 1 commit intomainfrom
fix/fix-networking
Feb 18, 2026
Merged

fix(wamr): Fix networking capability for all platforms#174
kr-t merged 1 commit intomainfrom
fix/fix-networking

Conversation

@kr-t
Copy link
Collaborator

@kr-t kr-t commented Feb 17, 2026

In instance create, wamr's wasm_runtime_set_wasi_*_pool() functions are storing addr_pool and ns_lookup_pool as pointers. These variables are lost the moment we leave the instance create part, and wamr tries to access them afterwards during the instance execution. We need to store these even if we leave the funtion.

In instance create, wamr's wasm_runtime_set_wasi_*_pool() functions are storing
addr_pool and ns_lookup_pool as pointers. These variables are lost the moment we
leave the instance create part, and wamr tries to access them afterwards during
the instance execution. We need to store these even if we leave the funtion.

Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
@kr-t kr-t requested a review from srberard as a code owner February 17, 2026 16:25
@kr-t kr-t merged commit 64006e1 into main Feb 18, 2026
10 of 21 checks passed
@kr-t kr-t deleted the fix/fix-networking branch February 18, 2026 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants