Skip to content

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
Signed-off-by: zizhao <zizhao@nvidia.com>
@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