untrusted rlp data length check

This commit is contained in:
Nikolay Volf 2016-01-25 16:40:59 +04:00
parent b2050fa639
commit 45059d5119
2 changed files with 3 additions and 3 deletions

3
.gitignore vendored
View File

@ -23,4 +23,5 @@ Cargo.lock
/json-tests/target/ /json-tests/target/
# jetbrains ide stuff
.idea

View File

@ -360,5 +360,4 @@ 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);
} }