extism / go-sdk

Extism Go SDK - easily run WebAssembly modules in your Go applications
https://pkg.go.dev/github.com/extism/go-sdk
BSD 3-Clause "New" or "Revised" License
85 stars 10 forks source link

Bug with `extism_store_u64` #24

Closed bhelx closed 1 year ago

bhelx commented 1 year ago

A bug reported by @k33g in Discord.

could not write value '3991934431567438953' at offset: 1179644 (recovered by wazero)
wasm stack trace:
        env.extism_store_u64(i64,i64)
        .github.com/extism/go-pdk.Log(i32,i32)
        .report()
exit status 1
bhelx commented 1 year ago

Fixed with kernel bugfix https://github.com/extism/go-sdk/pull/23