Skip to content

"Fix bounds error in CircularArrayBuffer" #23

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

Merged
merged 1 commit into from
Mar 27, 2024
Merged

Conversation

jeremiahpslewis
Copy link
Member

"This pull request fixes a bounds error in the CircularArrayBuffer implementation. The getindex function now includes bounds checking to prevent accessing elements outside the buffer's range. Additionally, a test case for a zero-length buffer has been added to ensure correct behavior.

Copy link
Member

@findmyway findmyway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jeremiahpslewis jeremiahpslewis merged commit c473aef into main Mar 27, 2024
6 of 12 checks passed
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