From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id F317E1A00477 for ; Wed, 9 Mar 2016 03:16:40 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id 8FAC3B5DA73 for ; Wed, 9 Mar 2016 03:52:33 +0900 (JST) Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id 7E39E18CC7E2 for ; Wed, 9 Mar 2016 03:52:33 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id E87A3120436; Wed, 9 Mar 2016 03:52:32 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from o2.heroku.sendgrid.net (o2.heroku.sendgrid.net [67.228.50.55]) by neon.ruby-lang.org (Postfix) with ESMTPS id 60E8F1203F8 for ; Wed, 9 Mar 2016 03:52:29 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=ZmRAMQxvTi1njAZvgfffKT3a5iA=; b=gxHlglFFjvLgEro0a6 w3ZklAincE5XzpYLJS/R+DmJJdsBVNgknbaEgs2OoxBHlN2dcl/3UaG1i7gj60Lq mMby/1ChoCMPKyTc9Bc5vnkvlZ1RhgE1E3pGwTnvnVarnbw6Sk4IF/B1jN8+LNnA z3J+uU9xWD4yFsrZD58dEYwN8= Received: by filter0565p1mdw1.sendgrid.net with SMTP id filter0565p1mdw1.14255.56DF1F654D 2016-03-08 18:52:21.727521933 +0000 UTC Received: from herokuapp.com (ec2-54-163-82-101.compute-1.amazonaws.com [54.163.82.101]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id nqVbezzrTqebU1dskFnkLg for ; Tue, 08 Mar 2016 18:52:21.790 +0000 (UTC) Date: Tue, 08 Mar 2016 18:52:21 +0000 From: nagachika00@gmail.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 48836 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 11862 X-Redmine-Issue-Author: normalperson X-Redmine-Sender: nagachika X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS43UedN4MOdDOjgNSfi0HazjPpdiXyIiUasHd tR7A78MrOkGzoHFeoRzWzTdcX66F1HUaN+7gMR0PRh3yl1WG6c8eFraX5x0f5C1wFrD0IH7uX8FXrw 83+tLVoQ7MDJ6iM4d5rQfcRO+1q7sGeadO1DOurTwcDGjyeeEbxsS/I7Yg== X-ML-Name: ruby-core X-Mail-Count: 74227 Subject: [ruby-core:74227] [Ruby trunk Bug#11862] [PATCH] ext/socket/init.c (rsock_init_sock): reject reserved FDs X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #11862 has been updated by Tomoyuki Chikanaga. 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. ---------------------------------------- Bug #11862: [PATCH] ext/socket/init.c (rsock_init_sock): reject reserved FDs https://bugs.ruby-lang.org/issues/11862#change-57362 * Author: Eric Wong * Status: Closed * Priority: Normal * Assignee: * ruby -v: * Backport: 2.0.0: REQUIRED, 2.1: DONE, 2.2: DONE ---------------------------------------- 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-------------------------------- 0001-ext-socket-init.c-rsock_init_sock-reject-reserved-FD.patch (655 Bytes) -- https://bugs.ruby-lang.org/