Project

General

Profile

Bug #12296

[Backport] fix dangling link

Added by nobu (Nobuyoshi Nakada) almost 4 years ago. Updated almost 4 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 operatorAssignedmatz (Yukihiro Matsumoto)Actions
#1

Updated by naruse (Yui NARUSE) almost 4 years ago

Updated by naruse (Yui NARUSE) almost 4 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) almost 4 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