Project

General

Profile

Actions

Bug #12296

closed

[Backport] fix dangling link

Added by nobu (Nobuyoshi Nakada) over 5 years ago. Updated over 5 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
Actions #1

Updated by naruse (Yui NARUSE) over 5 years ago

Updated by naruse (Yui NARUSE) over 5 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.

Actions #3

Updated by naruse (Yui NARUSE) over 5 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]
Actions

Also available in: Atom PDF