Skip to content

Fix out-of-bounds in InfiniteArray#1546

Open
KhuzaimaKhalid wants to merge 1 commit intokunal-kushwaha:mainfrom
KhuzaimaKhalid:patch-2
Open

Fix out-of-bounds in InfiniteArray#1546
KhuzaimaKhalid wants to merge 1 commit intokunal-kushwaha:mainfrom
KhuzaimaKhalid:patch-2

Conversation

@KhuzaimaKhalid
Copy link
Copy Markdown

Add a bounds check and cap end so arr[end] never goes past the array.

Add a bounds check and cap end so arr[end] never goes past the array.
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.

1 participant