Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add boundscheck in bindingkey_eq to avoid OOB access due to data race (…
…JuliaLang#54671) (#158) The race here is that svec might be replaced and a new binding introduced into the keyset while we hold a reference to the old svec, which led to a OOB access on the svec with the index a binding introduced at the same time. This now introduces a bounds check which will force taking the lock if we fail the lookup i.e we had a data race. Fixes JuliaLang#54285 --------- Co-authored-by: Gabriel Baraldi <baraldigabriel@gmail.com> Co-authored-by: Jameson Nash <vtjnash@gmail.com>
- Loading branch information