Project

General

Profile

Actions

Backport #8360

closed

backport r39939 (fix SEGV when Thread#join timeout argument == Float::INFINITY)

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


Description

r39939 Thread#join のタイムアウト値に Float::INFINITY を渡した時に SEGV する不具合が修正されていました。

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 r40562.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 39939: [Backport #8360]

* thread.c (double2timeval): convert the infinity to TIME_MAX to avoid
  SEGV by Thread.new {}.join(Float::INFINITY) on
  Debian GNU/Linux (amd64).
Actions

Also available in: Atom PDF

Like0
Like0