]> git.bitcoin.ninja Git - rust-lightning/commit
Fix bug in `BufReader::fill_buf` when reaching EOF
authorMatt Corallo <git@bluematt.me>
Fri, 16 Aug 2024 18:46:24 +0000 (18:46 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 19 Aug 2024 14:55:28 +0000 (14:55 +0000)
commitaadf233d6c2974672e061d2ae755ac1f238812c9
tree44549b1e6d174474102abbb43d18be6e5c66a1b4
parentdd37077c35f016a8a233eb0473f2f0bcea48adef
Fix bug in `BufReader::fill_buf` when reaching EOF

When we reach EOF we may return a full buffer when we should return
an empty one.
lightning/src/util/ser.rs