stream.Read return value is ignored
tshcherban opened this issue · 2 comments
tshcherban commented
There might be an issue if
stream.read
returned less than bufferSize
(e.g. NetworkStream
), invalid hash is calculated.uranium62 commented
Hi @tshcherban
Thank you very much for this issue.
I am going to rewrite the stream implementation using pipes and fix the bug.
Your raised very serious problem about it I have never thought before
uranium62 commented
Fixed