Project

General

Profile

Bug #13945

Backport r60024

Added by naruse (Yui NARUSE) over 1 year ago. Updated over 1 year 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

Associated revisions

Revision 60024
Added by nobu (Nobuyoshi Nakada) over 1 year ago

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.

Revision 04aa6a81
Added by nagachika (Tomoyuki Chikanaga) over 1 year ago

merge revision(s) 60024: [Backport #13945]

    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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@61440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 61440
Added by nagachika (Tomoyuki Chikanaga) over 1 year ago

merge revision(s) 60024: [Backport #13945]

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.

Revision 91e4978b
Added by usa (Usaku NAKAMURA) over 1 year ago

merge revision(s) 60024: [Backport #13945]

    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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@62136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 62136
Added by usa (Usaku NAKAMURA) over 1 year ago

merge revision(s) 60024: [Backport #13945]

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.

History

Updated by nagachika (Tomoyuki Chikanaga) over 1 year ago

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

ruby_2_4 r61440 merged revision(s) 60024.

Updated by usa (Usaku NAKAMURA) over 1 year ago

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

ruby_2_3 r62136 merged revision(s) 60024.

Also available in: Atom PDF