Project

General

Profile

This project is closed and read-only.

Actions

Backport #4506

closed

backport r28557 to 1.9.2

Backport #4506: backport r28557 to 1.9.2

Added by normalperson (Eric Wong) over 15 years ago. Updated over 15 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

Updated by naruse (Yui NARUSE) over 15 years ago Actions #1

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

=begin
It seems r28557.
=end

Updated by yugui (Yuki Sonoda) over 15 years ago Actions #2

  • 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: PDF Atom