-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
BitArray "constructor" incorrectly assumes 1-based indexing, leading to nondeterministic incorrect results due to out-of-bounds memory access #45825
Labels
Comments
KristofferC
added
the
kind:bug
Indicates an unexpected problem or unintended behavior
label
Jun 26, 2022
JeffBezanson
added a commit
that referenced
this issue
Jun 27, 2022
JeffBezanson
added a commit
that referenced
this issue
Jun 29, 2022
JeffBezanson
added a commit
that referenced
this issue
Jun 29, 2022
JeffBezanson
added a commit
that referenced
this issue
Jun 30, 2022
JeffBezanson
added a commit
that referenced
this issue
Jul 15, 2022
JeffBezanson
added a commit
that referenced
this issue
Jul 18, 2022
KristofferC
pushed a commit
that referenced
this issue
Jul 20, 2022
ffucci
pushed a commit
to ffucci/julia
that referenced
this issue
Aug 11, 2022
pcjentsch
pushed a commit
to pcjentsch/julia
that referenced
this issue
Aug 18, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
For example, in the following code, a
BitArray
that is constructed from an input array of values that are allfalse
is found to contain some values that aretrue
:This is due to the code here, which applies
@inbounds
to a loop before proceeding to index the user-provided array with indices that start from one.julia/base/bitarray.jl
Lines 510 to 514 in 2168230
The text was updated successfully, but these errors were encountered: