Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(dataobj): fix bug with partial reads of strings #15767

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

rfratto
Copy link
Member

@rfratto rfratto commented Jan 15, 2025

All decoder implementations used io.ReadFull for reading into a buffer except for the plain string decoder, which used io.Reader.Read directly (and incorrectly checked for partial reads).

Thanks to @benclive for finding this.

All decoder implementations used io.ReadFull for reading into a buffer
except for the plain string decoder, which used io.Reader.Read directly
(and incorrectly checked for partial reads).

Thanks to @benclive for finding this.
@rfratto rfratto requested a review from a team as a code owner January 15, 2025 13:27
@rfratto rfratto merged commit 5980396 into grafana:main Jan 15, 2025
61 checks passed
@rfratto rfratto deleted the dataobj-bug-partial-read branch January 15, 2025 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants