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

Fix invalid capacity when getByteBufferView of 2G block #32

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jeynmann
Copy link

@jeynmann jeynmann commented Jan 4, 2024

Why?
capacity of DirectBuffer is int type.
getByteBufferView of a 2G size block will result in overflow.

How?
Use real message buffer size instead of block size.

@jeynmann jeynmann changed the title fix invalid size for getByteBufferView of 2G block Fix invalid capacity when getByteBufferView of 2G block Jan 4, 2024
@jeynmann jeynmann force-pushed the pr_support_2g_block branch from 8efbc24 to c78480b Compare January 5, 2024 02:16
@petro-rudenko petro-rudenko requested a review from gleon99 January 15, 2024 09:47
@petro-rudenko
Copy link
Member

Can you please rebase on master - i've fixed CI to run checks

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.

3 participants