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(sdk): uses offset for ByteBuffer array offset #209

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

imdominicreed
Copy link
Contributor

ByteBuffer could have an array offset. We consider the length of the ByteBuffer, but we do not consider the offset and default it to 0. This PR fixes this problem by adding in the array offset when encrypting.

@imdominicreed imdominicreed requested review from a team as code owners November 6, 2024 23:52
Copy link

sonarqubecloud bot commented Nov 6, 2024

@imdominicreed imdominicreed changed the title fix(sdk): adds offset for ByteBuffer array offset fix(sdk): uses offset for ByteBuffer array offset Nov 6, 2024
@imdominicreed imdominicreed merged commit 0d6e761 into main Nov 7, 2024
7 checks passed
@imdominicreed imdominicreed deleted the fix/buffer-offset branch November 7, 2024 18:47
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.

2 participants