Fixing an index out of bounds
[?]
Jan 11, 2021, 12:27 PM
36MDIUWTTKJB4XYTBT6E36SYGFONZLR66H3OMVGWUUXJEC2EMH3ACDependencies
- [2]
ASD7JVBEDo not read past the size of the buffer (after Tokio 0.3) - [3]
7FRJYUI6Reboot because of a bad change - [4]
634OYCNMTokio 0.3 - [5]
ELRPPXSGFixing conflicts
Change contents
- replacement in thrussh/src/ssh_read.rs at line 64
let total = id.total.min(buf.remaining());let total = id.total.min(id.bytes_read + buf.remaining());