Skip to content

Fix incomplete reads in telemetry.Read()#37

Open
wojas wants to merge 1 commit intostilldavid:masterfrom
wojas:read-full-fix
Open

Fix incomplete reads in telemetry.Read()#37
wojas wants to merge 1 commit intostilldavid:masterfrom
wojas:read-full-fix

Conversation

@wojas
Copy link
Copy Markdown

@wojas wojas commented Jul 14, 2019

Use io.ReadFull() to ensure reading the exact number of bytes we want to read.

Check for errors when discarding bytes.

Use io.ReadFull() to ensure reading the exact number of bytes we want to
read.

Check for errors when discarding bytes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant