mirror of
https://github.com/rancher/plugins.git
synced 2025-07-14 07:24:02 +00:00
The current code accidentally ignores partial reads, since it doesn't check the return value of (io.Reader).Read. What we actually want is io.ReadFull(rand.Reader, buf), which is conveniently provided by rand.Read(buf). Signed-off-by: edef <edef@edef.eu> |
||
---|---|---|
.. | ||
echo | ||
bad_reader.go | ||
cmd.go | ||
dns.go | ||
netns_linux.go | ||
ping.go | ||
testing.go |