untrusted rlp data length check
This commit is contained in:
parent
b2050fa639
commit
45059d5119
3
.gitignore
vendored
3
.gitignore
vendored
@ -23,4 +23,5 @@ Cargo.lock
|
|||||||
|
|
||||||
/json-tests/target/
|
/json-tests/target/
|
||||||
|
|
||||||
|
# jetbrains ide stuff
|
||||||
|
.idea
|
@ -361,4 +361,3 @@ fn test_rlp_data_length_check()
|
|||||||
let as_val: Result<String, DecoderError> = rlp.as_val();
|
let as_val: Result<String, DecoderError> = rlp.as_val();
|
||||||
assert_eq!(Err(DecoderError::RlpInconsistentLengthAndData), as_val);
|
assert_eq!(Err(DecoderError::RlpInconsistentLengthAndData), as_val);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user