mirror of
https://github.com/rancher/plugins.git
synced 2025-08-28 12:21:45 +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> |
||
---|---|---|
.. | ||
addr_linux.go | ||
cidr.go | ||
ip_suite_test.go | ||
ip_test.go | ||
ip.go | ||
ipforward_linux_test.go | ||
ipforward_linux.go | ||
ipmasq_linux.go | ||
link_linux_test.go | ||
link_linux.go | ||
route_linux.go | ||
utils_linux.go |