Project

General

Profile

Backport #9545

backport r45066 (inf loop on recvmsg/sendmsg)

Added by normalperson (Eric Wong) over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
[ruby-core:60920]

Description

Trivial fix committed as r45066
I hit this using dtas http://dtas.80x24.org/
This seems to affect all 1.9.3, 2.0 and 2.1
(do I need to file separate ticket for each version?)


Related issues

Related to Ruby master - Bug #9550: backport r45066Closed02/22/2014Actions

Updated by naruse (Yui NARUSE) over 6 years ago

  • Related to Bug #9550: backport r45066 added

Updated by naruse (Yui NARUSE) over 6 years ago

see https://bugs.ruby-lang.org/projects/ruby/wiki/HowToRequestBackport for the way to request backport.

In this case, make a ticket on ruby-trunk and fill backport custom field is the best way.
usa did it.

Updated by naruse (Yui NARUSE) over 6 years ago

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

Applied in changeset r45120.


merge revision(s) 45066: [Backport #9545] [Backport #9550]

* ext/socket/ancdata.c (bsock_sendmsg_internal): only retry on error
  (bsock_recvmsg_internal): ditto

* test/socket/test_unix.rb: test above for infinite loop

Also available in: Atom PDF