Project

General

Profile

Bug #13945

Backport r60024

Added by naruse (Yui NARUSE) almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
[ruby-core:83031]

Description

vm.c: fetch retval iff necessary

* vm.c (rb_vm_make_jump_tag_but_local_jump): get rid of fetching
  retval when it is not used.  it is necessary for local jump
  state only.

This caused SEGV if an application which embeds Ruby and uses rb_load_protect.
https://github.com/vim/vim/pull/2147

Also available in: Atom PDF