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 (smtp.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id F29571A00141 for ; Thu, 25 Feb 2016 17:14:55 +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 C8E3EB5D8A6 for ; Thu, 25 Feb 2016 17:50:13 +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 4466E18CC7E7 for ; Thu, 25 Feb 2016 17:50:14 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 36FE31204B1; Thu, 25 Feb 2016 17:50:14 +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 34CA8120486 for ; Thu, 25 Feb 2016 17:50:10 +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=N8OpRlMJ4gDjkFkOMc0BdARNn54=; b=k/1EOAKG2omnWfQVH/ BF2MXJUt84vJSI9DZiCnngA9Qs3psjY0pgXZaI51DL6qypC3lNOGLQB9ranO3uVs Iujm1qzxyYB7LCBHGLUJKLcahCbNEe9TjrPuOBbH+/TIUElx4qBSg3gU/SNCEkEL BgCIXbDOJrcIeaxkkc/lHFFBs= Received: by filter0535p1mdw1.sendgrid.net with SMTP id filter0535p1mdw1.12504.56CEC03E19 2016-02-25 08:50:06.117667809 +0000 UTC Received: from herokuapp.com (ec2-54-163-64-3.compute-1.amazonaws.com [54.163.64.3]) by ismtpd0006p1iad1.sendgrid.net (SG) with ESMTP id eS03iUSRRiWXKDKT8C1ZdA for ; Thu, 25 Feb 2016 08:50:06.051 +0000 (UTC) Date: Thu, 25 Feb 2016 08:50:05 +0000 From: usa@garbagecollect.jp To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 48579 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 11862 X-Redmine-Issue-Author: normalperson X-Redmine-Sender: usa 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS5tIbEhuROvFpP5dqY9Am+eGiPCiOBckMAnSt JR1A9s5+2+gd+OUA0BNVt+cm9wzCqIRP91+ZaNFuAU6dvMQX+oSIR7Ph6tHHoEl45P+59lub5ZjwoY Zo51ie3w9bZzoP5cLSXemfGVJ7H++FGI74zzQRQlOy+kQVAJ2uhG0cIZbw== X-ML-Name: ruby-core X-Mail-Count: 73976 Subject: [ruby-core:73976] [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 Usaku NAKAMURA. 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. ---------------------------------------- Bug #11862: [PATCH] ext/socket/init.c (rsock_init_sock): reject reserved FDs https://bugs.ruby-lang.org/issues/11862#change-57129 * Author: Eric Wong * Status: Closed * Priority: Normal * Assignee: * ruby -v: * Backport: 2.0.0: REQUIRED, 2.1: DONE, 2.2: REQUIRED ---------------------------------------- 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/