]> git.bitcoin.ninja Git - rust-lightning/commit
Ensure Message always unwraps in fuzztarget 2019-01-deps-bump
authorMatt Corallo <git@bluematt.me>
Thu, 17 Jan 2019 22:36:49 +0000 (17:36 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 22 Jan 2019 18:49:15 +0000 (13:49 -0500)
commit8678bda57681b0b30c4859240699c37b460d80d1
tree96ec51816a6e74c6ae275279c06dfb912c3edf3f
parentf109d13e229aa963ccd078554db3165d94b2b319
Ensure Message always unwraps in fuzztarget

Hashes cant be all-0s, so we can normally unwrap, but fuzztarget
can generate all-0 hashes, so we have to handle it and swap for
something else.
src/ln/channel.rs
src/ln/channelmanager.rs
src/ln/channelmonitor.rs
src/ln/router.rs
src/util/fuzz_wrappers.rs [new file with mode: 0644]
src/util/mod.rs