]> git.bitcoin.ninja Git - rust-lightning/commit
Update NodeAnnouncement addr deserialization to check addr len.
authorMatt Corallo <git@bluematt.me>
Wed, 25 Jul 2018 19:27:19 +0000 (15:27 -0400)
committerMatt Corallo <git@bluematt.me>
Wed, 25 Jul 2018 19:57:36 +0000 (15:57 -0400)
commit66023b7886b821767b732a1354a5f486ff8da167
tree65211d6096ae5dac9ff997f9858d525009bfa23e
parentd4bb39a1ddeaa7cd72803907333f6fdefb4641cb
Update NodeAnnouncement addr deserialization to check addr len.

This more aggressively checks the message contents are correct
before returning WrongLength so existing fuzz setup has an easier
time.
fuzz/fuzz_targets/channel_target.rs
src/ln/msgs.rs