diff options
| author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2019-07-19 11:09:52 +1200 |
|---|---|---|
| committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2019-07-19 11:10:01 +1200 |
| commit | d7fdf45a4ae1bcb6fac30a24b025d4f20149ba0a (patch) | |
| tree | 983309ca564439ec223dd4c6388e195ce277190e /spec/ruby/core | |
| parent | 9dda0a03cc19d0ca20fc8fc220760e37cb5b9f02 (diff) | |
Ensure cfp is initialized to NULL.
`cont_init` didn't initialize `cont->saved_ec.cfp`. Calling `cont_mark`
would result in an invalid `cfp` in `rb_execution_context_mark`. Because
fibers lazy-initialize the stack, fibers that are created but not resumed
could cause this problem to occur.
Diffstat (limited to 'spec/ruby/core')
0 files changed, 0 insertions, 0 deletions
