diff options
author | Aaron Patterson <[email protected]> | 2020-09-25 15:01:23 -0700 |
---|---|---|
committer | Aaron Patterson <[email protected]> | 2020-09-28 08:20:23 -0700 |
commit | b9488accf9e2cbf5f7c47b42b3eb23469f0aa58d (patch) | |
tree | d7c1cf60907100f903c06ff12e2918b77b9961db /vm.c | |
parent | b328b830264408b467a5c904a474e7112c5d678c (diff) |
Fix ASAN support when invalidating CCs
Again, this code is walking the heap. Empty slots can be poisoned, so
we need to unpoison before checking the type
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3592
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -25,6 +25,7 @@ #include "internal/re.h" #include "internal/symbol.h" #include "internal/vm.h" +#include "internal/sanitizers.h" #include "iseq.h" #include "mjit.h" #include "ruby/st.h" |