[ruby-core:83031] [Ruby trunk Bug#13945] Backport r60024

From: naruse@...
Date: 2017-09-27 21:48:07 UTC
List: ruby-core #83031
Issue #13945 has been reported by naruse (Yui NARUSE).

----------------------------------------
Bug #13945: Backport r60024
https://bugs.ruby-lang.org/issues/13945

* Author: naruse (Yui NARUSE)
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.3: REQUIRED, 2.4: REQUIRED
----------------------------------------
```
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



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next