Closed kevin-valerio closed 1 year ago
It would be great to have a test with the malicious payload, to make sure we won't have a regression in the future.
I attempted to create a test, but I could not get the test to work properly in a no-std environment.
It would be great to have a test with the malicious payload, to make sure we won't have a regression in the future.
I attempted to create a test, but I could not get the test to work properly in a no-std environment.
See that link, I wrote a test there with the good Cargo.toml config to reproduce the bug.
It would be great to have a test with the malicious payload, to make sure we won't have a regression in the future.
I attempted to create a test, but I could not get the test to work properly in a no-std environment.
See that link, I wrote a test there with the good Cargo.toml config to reproduce the bug.
To clarify, I could not create a test that would work with cargo test
in this repo.
Regardless of what I tried (--no-default-features
flags, etc.), std
was always defined.
Please, see https://github.com/multiformats/rust-multihash/issues/282 for more informations