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
with a valid TariWallet pointer for destination instead of a valid TariWalletAddress, pointer, the FFI code panics with
thread 'tokio-runtime-worker' panicked at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/curve25519-dalek-4.1.3/src/backend/serial/u64/field.rs:138:21:
attempt to multiply with overflow
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
If the function is called with a valid TariWalletAddress pointer for wallet instead of a valid TariWallet, pointer, the FFI code panics with
Describe the bug
Wallet FFI panics if invalid non-null pointers are passed in.
As an example of this when calling
with a valid
TariWallet
pointer fordestination
instead of a validTariWalletAddress,
pointer, the FFI code panics withIf the function is called with a valid
TariWalletAddress
pointer forwallet
instead of a validTariWallet,
pointer, the FFI code panics withTo Reproduce
Steps to reproduce the behavior:
As described above.
Expected behavior
Checks should be built into all FFI interface functions to determine the validity of the object pointers.
Screenshots
n/a
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
This is a development issue, but could easily be targeted by evil geniuses.
The text was updated successfully, but these errors were encountered: