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

Add bounds check to Slices indexing #47622

Merged
merged 2 commits into from
Dec 20, 2022

Conversation

mcabbott
Copy link
Contributor

@mcabbott mcabbott commented Nov 18, 2022

Fixes the bug observed here: #32310 (comment) , that indexing the new trivial dimensions of eachslice(A, drop=false) was not checked.

Cc @simonbyrne

@brenhinkeller brenhinkeller added the arrays [a, r, r, a, y, s] label Nov 18, 2022
@mcabbott
Copy link
Contributor Author

Bump?

@simonbyrne simonbyrne closed this Nov 29, 2022
@simonbyrne simonbyrne reopened this Nov 29, 2022
@mcabbott
Copy link
Contributor Author

Bump?

@KristofferC KristofferC added the backport 1.9 Change should be backported to release-1.9 label Dec 20, 2022
@KristofferC KristofferC merged commit d7363d8 into JuliaLang:master Dec 20, 2022
@mcabbott mcabbott deleted the eachslice_fix branch December 20, 2022 15:10
KristofferC pushed a commit that referenced this pull request Dec 20, 2022
Co-authored-by: Simon Byrne <simonbyrne@gmail.com>
(cherry picked from commit d7363d8)
@KristofferC KristofferC removed the backport 1.9 Change should be backported to release-1.9 label Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrays [a, r, r, a, y, s]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants