diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2020-09-23 20:06:38 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2020-10-01 08:42:52 -0700 |
commit | 9fb60672d55162a92ab7e97b000a7e277458aab1 (patch) | |
tree | 4b6be6987a600aeaa6bde3ee1c675e5be8022c9e /version.h | |
parent | 2db081b5ffb07a2e6bdac58122fa3466830b12a9 (diff) |
Fix a use-after-free bug reported by ASAN
If a fiber and thread are collected at the same time, the thread might
get collected first and the pointer on the fiber will go bad. I don't
think we need to check whether or not this is the main fiber in order to
release its stack
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3571
Diffstat (limited to 'version.h')
0 files changed, 0 insertions, 0 deletions