-
Notifications
You must be signed in to change notification settings - Fork 515
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
Handling Large Offsets for read on 32-bit Systems May Exceed usize Capacity #4506
Comments
@Xuanwo |
I don't have plan to change it yet. Please note that |
I think if the underlying client uses |
Your understanding is correct. However, the proper solution is to have the underlying client accept That said, there's no immediate need to address this. We can revisit the issue if we encounter it with users on 32-bit systems. |
A potential issue in the system where i64 is used for file offsets. On 32-bit architectures,
usize
is limited to2^31-1
, which means that offsets near the upper limit of i64 could exceedusize
capacities. This can lead to runtime errors or panics if not properly handled.The text was updated successfully, but these errors were encountered: