-
-
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
Possible use after free in iddict rehashing function #52558
Labels
bug
Indicates an unexpected problem or unintended behavior
Comments
Yes, that looks more correct |
oscardssmith
added
the
bug
Indicates an unexpected problem or unintended behavior
label
Dec 17, 2023
was this my fault? (from the Memory pr) |
vchuravy
pushed a commit
that referenced
this issue
Dec 18, 2023
Should fix #52558. `a` should be rooted before the alloc call. I removed the comment as it seemed to refer to a write barrier that was removed long ago.
KristofferC
pushed a commit
that referenced
this issue
Jan 24, 2024
Drvi
pushed a commit
to RelationalAI/julia
that referenced
this issue
Jun 7, 2024
Should fix JuliaLang#52558. `a` should be rooted before the alloc call. I removed the comment as it seemed to refer to a write barrier that was removed long ago. (cherry picked from commit 5977cb0)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a bug in the code that rehashes IdDict? Asan on #52496 is saying that
ol[i+1]
on line 23 is a use after being freed in the call tojl_alloc_memory_any
(line 18).julia/src/iddict.c
Lines 13 to 31 in 67c7843
Should lines 18 and 21 be changed to the following,
The text was updated successfully, but these errors were encountered: