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: Add bounds checks to data slice #29

Merged
merged 1 commit into from
Aug 30, 2022
Merged

fix: Add bounds checks to data slice #29

merged 1 commit into from
Aug 30, 2022

Conversation

theopolis
Copy link
Contributor

If the indexes into the data[] slice are out of bounds then a panic will occur. This checks the start and end of each slice index to assure they are within the boundary.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@knqyf263 knqyf263 merged commit c11b1c4 into knqyf263:master Aug 30, 2022
@knqyf263
Copy link
Owner

Thanks!

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.

None yet

2 participants