X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=fuzz%2Ffuzz_targets%2Fchannel_target.rs;h=d2a4fbca94a2aa24cdeaf6beec5e9f7e2c01172c;hb=1b8504a3f3f46736abb886121718bde07321f2b2;hp=7b3b7df1ce2ec3ddcc039212e92352bddef8b246;hpb=bde48b2c158c4c2f0a9a21e192e2ed914dd2aa77;p=rust-lightning diff --git a/fuzz/fuzz_targets/channel_target.rs b/fuzz/fuzz_targets/channel_target.rs index 7b3b7df1..d2a4fbca 100644 --- a/fuzz/fuzz_targets/channel_target.rs +++ b/fuzz/fuzz_targets/channel_target.rs @@ -131,6 +131,8 @@ pub fn do_test(data: &[u8]) { msgs::DecodeError::ExtraAddressesPerType => return, msgs::DecodeError::BadLengthDescriptor => return, msgs::DecodeError::ShortRead => panic!("We picked the length..."), + msgs::DecodeError::InvalidValue => panic!("Writeable not used yet..."), + msgs::DecodeError::Io(_) => panic!("Writeable not used yet..."), } } } @@ -154,6 +156,8 @@ pub fn do_test(data: &[u8]) { msgs::DecodeError::ExtraAddressesPerType => return, msgs::DecodeError::BadLengthDescriptor => return, msgs::DecodeError::ShortRead => panic!("We picked the length..."), + msgs::DecodeError::InvalidValue => panic!("Writeable not used yet..."), + msgs::DecodeError::Io(_) => panic!("Writeable not used yet..."), } } }