diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2021-07-08 18:23:39 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2022-06-22 08:30:39 -0400 |
| commit | 744d17ff6c33b09334508e8110007ea2a82252f5 (patch) | |
| tree | 38579b596f6d2fea31a85864f75ce3d874968cbf /spec/ruby/core/array/pack | |
| parent | e6f92cada1cf8026d0dc6dbd11867ba9a994f4d6 (diff) | |
Fix infinite loop when b_return TracePoint throws
Previously, we didn't pop the frame that runs the TracePoint hook for
b_return events for blocks running as methods (bmethods). In case the
hook raises, that formed an infinite loop during stack unwinding in
hook_before_rewind().
[Bug #18060]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4638
Diffstat (limited to 'spec/ruby/core/array/pack')
0 files changed, 0 insertions, 0 deletions
