Project

General

Profile

Actions

Backport #8424

closed

backport r40806 (fix infinite loop when stack overflow with TH_PUSH_TAG())

Added by nagachika (Tomoyuki Chikanaga) almost 11 years ago. Updated almost 11 years ago.


Description

r40806 で TH_PUSH_TAG() で push した rb_vm_tag の途中でスタックがあふれた時に無限ループに陥るという現象が修正されているのでバックポートが必要です。 1.9.3 も?
なお conflict を避けるために r40791 も必要と思われます。

Actions #1

Updated by nagachika (Tomoyuki Chikanaga) almost 11 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r41054.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 40791,40806: [Backport #8424]

* eval_intern.h (TH_PUSH_TAG): ensure jmpbuf to be accessible before
  pushing tag to get rid of unaccessible tag by stack overflow.

* vm_core.h (rb_vm_tag): move jmpbuf between tag and prev so ensure to
  be accessible.
Actions

Also available in: Atom PDF

Like0
Like0