diff options
author | Jeremy Evans <code@jeremyevans.net> | 2020-08-21 12:52:02 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2020-08-21 14:52:30 -0700 |
commit | a0273d67d044dc9fe25313e0854a33374b990e8a (patch) | |
tree | f4099c2262ec0a2be1d707260f61d840f7b82410 /lib/optparse | |
parent | ea4ccc09923c56783df8789b0813f7fee7a560c6 (diff) | |
download | ruby-a0273d67d044dc9fe25313e0854a33374b990e8a.tar.gz |
Avoid a use after free in VM assertion
If the thread for the current EC has been killed, don't check
the VM ptr for the EC (which gets it via the thread), as that will
have already been freed.
Fixes [Bug #16907]
Diffstat (limited to 'lib/optparse')
0 files changed, 0 insertions, 0 deletions