You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on this @reuvenpo identified and fixed many memory bugs. These are listed in the description of the PR.
This comment in their issue tracker describes future improvements to make buffer-passing more efficient (today there are 2 copies done in each direction, where only 1 is needed)
This issue describes bugs discovered in handling of out-of-gas scenarios (They are never handled correctly, and could cause UB before mitigations that the above PR put in place)
Adjust cosmwasm runtime-to-wasm FFI to allow arbitrary-length buffers
go-cosmwasm
rust-to-go FFI to allow arbitrary-length buffers (Related to: Use after free in api/memory.go::receiveSlice CosmWasm/wasmvm#55)cosmwasm
runtime-to-wasm FFI to allow arbitrary-length buffersCall export "allocate" from db_read implementation CosmWasm/cosmwasm#245 & boxed the wasmer_instance field of Instance to make it safe to reference CosmWasm/cosmwasm#306
The text was updated successfully, but these errors were encountered: