Project

General

Profile

Backport #8360

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

Added by Tomoyuki Chikanaga over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
[ruby-dev:47313]

Description

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

Associated revisions

Revision 40562
Added by Tomoyuki Chikanaga over 3 years ago

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).

History

#1 Updated by Tomoyuki Chikanaga over 3 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).

Also available in: Atom PDF