Project

General

Profile

Backport #4506

backport r28557 to 1.9.2

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

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

Description

=begin
Clients can exploit this bug to DoS servers that use IO.copy_stream.
I thought I created a ticket for this back when it was fixed in trunk...
=end

Associated revisions

Revision d96b56b3
Added by yugui (Yuki Sonoda) about 8 years ago

merges r28557 from trunk into ruby_1_9_2. Fixes #4506.

  • io.c (nogvl_copy_stream_sendfile): jump to retry_sendfile directly to avoid select() on a socket which TCP state is CLOSED. patch by Eric Wong. [ruby-core:31053]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 31845
Added by yugui (Yuki Sonoda) about 8 years ago

merges r28557 from trunk into ruby_1_9_2. Fixes #4506.

  • io.c (nogvl_copy_stream_sendfile): jump to retry_sendfile directly to avoid select() on a socket which TCP state is CLOSED. patch by Eric Wong. [ruby-core:31053]

History

#1

Updated by naruse (Yui NARUSE) about 8 years ago

  • Project changed from Ruby trunk to Backport192
  • Category changed from core to core
  • Target version deleted (1.9.2)

=begin
It seems r28557.
=end

#2

Updated by yugui (Yuki Sonoda) about 8 years ago

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

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


merges r28557 from trunk into ruby_1_9_2. Fixes #4506.

  • io.c (nogvl_copy_stream_sendfile): jump to retry_sendfile directly to avoid select() on a socket which TCP state is CLOSED. patch by Eric Wong. [ruby-core:31053]

Also available in: Atom PDF