Project

General

Profile

Actions

Backport #4506

closed

backport r28557 to 1.9.2

Added by normalperson (Eric Wong) about 13 years ago. Updated almost 13 years ago.

Status:
Closed
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

Actions #1

Updated by naruse (Yui NARUSE) about 13 years ago

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

=begin
It seems r28557.
=end

Actions #2

Updated by yugui (Yuki Sonoda) almost 13 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]
Actions

Also available in: Atom PDF

Like0
Like0Like0