Skip to content

Conversation

@shsing2000
Copy link

I believe there are possible issues when evaluating the needed buffer capacity.

  • situation where buffer already has content, and the stat to be written fits exactly in the remaining buffer capacity. The boundary check should account for the prepend newline.
  • situation where formatting is done during write using fmt.Fpringf(...) leads to inaccurate length check of the data to be written.

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