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 8A4851960041 for ; Sat, 27 Jun 2015 22:48:49 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [133.44.2.201]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id 4E8DBB5D8D3 for ; Sat, 27 Jun 2015 23:13:31 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (localhost.nagaokaut.ac.jp [127.0.0.1]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 134FA97A836 for ; Sat, 27 Jun 2015 23:13:34 +0900 (JST) X-Virus-Scanned: amavisd-new at nagaokaut.ac.jp Authentication-Results: funfun.nagaokaut.ac.jp (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=sendgrid.me Received: from funfun.nagaokaut.ac.jp ([127.0.0.1]) by funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4SomTbjrQF2n for ; Sat, 27 Jun 2015 23:13:33 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id E510597A82C for ; Sat, 27 Jun 2015 23:13: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 F392F952439 for ; Sat, 27 Jun 2015 23:13:30 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 8E6E612044C; Sat, 27 Jun 2015 23:13:31 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from o10.shared.sendgrid.net (o10.shared.sendgrid.net [173.193.132.135]) by neon.ruby-lang.org (Postfix) with ESMTPS id F24A8120420 for ; Sat, 27 Jun 2015 23:13:27 +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=S/UCv9AyErnhfwlFzLpdPQVi/Y8=; b=u3h/4y+0LUH5XoIj9N iapyYusqUtdiUCxXBFyOOqzGEDmkXlyv9fsXRhkDunr4J9L1eoFUnizL5qMct3P/ qIazCNUljvTLVAcs4VmnqFxy1c2b/TBlWneNgVH0vhcyKEZMDGxBYbf0zAMOe83H mL0mGHhCy6NwfbySzajqdEI0E= Received: by filter0442p1mdw1.sendgrid.net with SMTP id filter0442p1mdw1.12667.558EAF826 2015-06-27 14:13:22.259741559 +0000 UTC Received: from herokuapp.com (ec2-54-159-62-36.compute-1.amazonaws.com [54.159.62.36]) by ismtpd-014 (SG) with ESMTP id 14e355d9453.392d.4a745b for ; Sat, 27 Jun 2015 14:13:22 +0000 (UTC) Date: Sat, 27 Jun 2015 14:13:22 +0000 From: nagachika00@gmail.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Redmine-MailingListIntegration-Message-Ids: 44333 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 11291 X-Redmine-Issue-Author: eagletmt 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS4OWkbYGLrY8MSMGULuOG1MhrYfippTzZ8Y9u cyoxWUlC+KE9oIloXLCmpL68JdbNEZSSuTsTJt2U0N7B2X+2d275C19ux+7BYWPRPaUZoKQd9ZaATL dKAnGWpue4w40ZLTs1nhP+sdSNNNHO8uyXpF X-ML-Name: ruby-core X-Mail-Count: 69757 Subject: [ruby-core:69757] [Ruby trunk - Bug #11291] [PATCH] Check SPECIAL_CONST_P before RBASIC_CLASS to avoid SEGV 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: , Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #11291 has been updated by Tomoyuki Chikanaga. Backport changed from 2.0.0: UNKNOWN, 2.1: REQUIRED, 2.2: REQUIRED to 2.0.0: UNKNOWN, 2.1: REQUIRED, 2.2: DONE Backported into `ruby_2_2` branch at r51047. ---------------------------------------- Bug #11291: [PATCH] Check SPECIAL_CONST_P before RBASIC_CLASS to avoid SEGV https://bugs.ruby-lang.org/issues/11291#change-53134 * Author: Kohei Suzuki * Status: Closed * Priority: Normal * Assignee: * ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux] * Backport: 2.0.0: UNKNOWN, 2.1: REQUIRED, 2.2: DONE ---------------------------------------- https://github.com/ruby/ruby/pull/943 It fixes SEGV when a special constant is passed to `ObjectSpace.dump` . I think it needs to be backported to 2.1 and 2.2. -- https://bugs.ruby-lang.org/