Project

General

Profile

Bug #12296

[Backport] fix dangling link

Added by nobu (Nobuyoshi Nakada) over 3 years ago. Updated over 3 years ago.

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

Description

Backport r54628 to fix infinite loop by dangling link.
c.f. https://bugs.ruby-lang.org/issues/11816#change-58120


Related issues

Follows Ruby master - Feature #11816: Partial safe navigation operatorAssignedActions

Associated revisions

Revision 4989a071
Added by naruse (Yui NARUSE) over 3 years ago

merge revision(s) 54628: [Backport #12296]

    * compile.c (iseq_peephole_optimize): should not replace the
      current target INSN, not to follow the replaced dangling link in
      the caller.  [ruby-core:74993] [Bug #11816]

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

Revision 54635
Added by naruse (Yui NARUSE) over 3 years ago

merge revision(s) 54628: [Backport #12296]

* compile.c (iseq_peephole_optimize): should not replace the
  current target INSN, not to follow the replaced dangling link in
  the caller.  [ruby-core:74993] [Bug #11816]

History

#1

Updated by naruse (Yui NARUSE) over 3 years ago

Updated by naruse (Yui NARUSE) over 3 years ago

  • Backport changed from 2.1: DONTNEED, 2.2: DONTNEED, 2.3: REQUIRED to 2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONE

ruby_2_3 r54635 merged revision(s) 54628.

#3

Updated by naruse (Yui NARUSE) over 3 years ago

  • Status changed from Open to Closed

Applied in changeset ruby_2_3|r54635.


merge revision(s) 54628: [Backport #12296]

* compile.c (iseq_peephole_optimize): should not replace the
  current target INSN, not to follow the replaced dangling link in
  the caller.  [ruby-core:74993] [Bug #11816]

Also available in: Atom PDF