This repository has been archived by the owner on May 26, 2022. It is now read-only.
secureSession.Read([]byte)
seems to behave like io.ReadFull
#76
Labels
kind/bug
A bug in existing code (including security flaws)
On studying the
Read([]byte)
method, it seems like it strives to fill the buffer, which is contrary to the contract ofio.Reader
.We should:
The text was updated successfully, but these errors were encountered: