Project

General

Profile

Actions

Bug #11862

closed

[PATCH] ext/socket/init.c (rsock_init_sock): reject reserved FDs

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

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:72439]

Description

We've had this bug for years, but writing a portable test for it could
be challenging. I think it is safe to commit w/o tests; on the other hand
I doubt anybody would really care if it's fixed before 2.3 since we've
had this bug since 1.9.3 and nobody noticed.


Files

Updated by nobu (Nobuyoshi Nakada) over 8 years ago

Indeed, it seems necessary.

Actions #2

Updated by Anonymous over 8 years ago

  • Status changed from Open to Closed

Applied in changeset r53259.


ext/socket/init.c (rsock_init_sock): reject reserved FDs

[ruby-core:72445] [Bug #11862]

Updated by usa (Usaku NAKAMURA) about 8 years ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: REQUIRED to 2.0.0: REQUIRED, 2.1: DONE, 2.2: REQUIRED

ruby_2_1 r53924 merged revision(s) 53259.

Updated by nagachika (Tomoyuki Chikanaga) about 8 years ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: DONE, 2.2: REQUIRED to 2.0.0: REQUIRED, 2.1: DONE, 2.2: DONE

Backported into ruby_2_2 branch at r54039.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0