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

From: nagachika00@...
Date: 2017-12-24 03:01:41 UTC
List: ruby-core #84427
Issue #13945 has been updated by nagachika (Tomoyuki Chikanaga).

Backport changed from 2.3: REQUIRED, 2.4: REQUIRED to 2.3: REQUIRED, 2.4: DONE

ruby_2_4 r61440 merged revision(s) 60024.

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

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