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

Sink::asNSOutputStream overwrites sink's buffer content #215

Closed
fzhinkin opened this issue Aug 24, 2023 · 0 comments · Fixed by #216
Closed

Sink::asNSOutputStream overwrites sink's buffer content #215

fzhinkin opened this issue Aug 24, 2023 · 0 comments · Fixed by #216
Assignees
Labels

Comments

@fzhinkin
Copy link
Collaborator

Sink::asNSOutputStream incorrectly writes data by using the segment's pos offset instead of limit but then increments the limit.

@fzhinkin fzhinkin added the bug label Aug 24, 2023
@fzhinkin fzhinkin self-assigned this Aug 24, 2023
fzhinkin added a commit that referenced this issue Aug 24, 2023
@fzhinkin fzhinkin linked a pull request Aug 24, 2023 that will close this issue
jeffdgr8 added a commit to jeffdgr8/okio that referenced this issue Aug 24, 2023
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 a pull request may close this issue.

1 participant