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

PipedStreamBuffer circular copying overflow fix #2638

Merged
merged 7 commits into from
Sep 28, 2021

Conversation

vasilmkd
Copy link
Member

Resolves #2637.

The built in % remainder operator can return a negative result. We're actually interested in the modulus operation which returns a non-negative result.

@vasilmkd vasilmkd marked this pull request as draft September 28, 2021 07:35
@vasilmkd vasilmkd marked this pull request as ready for review September 28, 2021 08:11
@vasilmkd vasilmkd marked this pull request as draft September 28, 2021 08:47
@vasilmkd vasilmkd marked this pull request as ready for review September 28, 2021 09:16
@mpilquist mpilquist merged commit b6790a0 into typelevel:main Sep 28, 2021
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.

ArrayIndexOutOfBoundsException using fs2.io.writeOutputStream when number of bytes exceeds Int.MaxValue
3 participants