Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
io: guard against integer overflow in BufWriter
In the implementation of AsyncWrite::poll_write_vectored for BufWriter, the total length of the data can technically overflow usize even with safely obtained buffer slices, since slices may overlap.
- Loading branch information