fix(zseri/store-ref-scanner): no_std support and runtime panics
This also changes the fuzzing infrastructure from proptest to cargo-fuzz, and this lead to the discovery of two mishandlings of edge-cases: * when a "path_to_store" is at the end of the input, it tried to access the input slice out-of-bounds (the `just_store` test covers that now) * non-ASCII characters lead to an out-of-bounds access in HalfBytesMask (the `non_ascii` test covers that now) Change-Id: Icaa2518dcd93e1789a2c0da4cf0fec46016d3bad Reviewed-on: https://cl.tvl.fyi/c/depot/+/4604 Tested-by: BuildkiteCI Reviewed-by: zseri <zseri.devel@ytrizja.de>
This commit is contained in:
parent
5f2b37bdb0
commit
f4dddea4c3
11 changed files with 239 additions and 609 deletions
|
|
@ -4,13 +4,4 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
camino = "1.0"
|
||||
once_cell = "1.9.0"
|
||||
proc_unroll = "0.1"
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
[dev-dependencies.proptest]
|
||||
version = "1.0"
|
||||
default-features = false
|
||||
features = ["std"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue