Actions
Backport #4506
closedbackport r28557 to 1.9.2
Status:
Closed
Assignee:
-
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) 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
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
Like0
Like0Like0