Backport #8360

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

Added by Tomoyuki Chikanaga 12 months ago. Updated 12 months ago.

[ruby-dev:47313]
Status:Closed
Priority:Normal
Assignee:Tomoyuki Chikanaga

Description

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

Associated revisions

Revision 40562
Added by Tomoyuki Chikanaga 12 months 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 12 months 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