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 DF3261960015 for ; Mon, 29 Jun 2015 13:03:58 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (smtp.nagaokaut.ac.jp [133.44.2.201]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id 1A9BBB5D91B for ; Mon, 29 Jun 2015 13:29:02 +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 971FC97A826 for ; Mon, 29 Jun 2015 13:29:03 +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 Ax9zjrPUBEz2 for ; Mon, 29 Jun 2015 13:29:03 +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 6C42197A839 for ; Mon, 29 Jun 2015 13:29:03 +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 E6B8895243E for ; Mon, 29 Jun 2015 13:29:00 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 8A715120441; Mon, 29 Jun 2015 13:28:57 +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 C3990120432 for ; Mon, 29 Jun 2015 13:28:44 +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=Ee/A70+TsT2YyaHRmxevZQfg7pQ=; b=GGmXsG2gxdlVlYPUQ4 XX0eSZASRHvmK4xcrDcrrP16ma1lruHIf24rwzp9HEQiJN6/JeMx/B5oDsQucVIl y9YqQpxEwTua3gSUTpMUkVdn6QGL+yqC7jVrPUhpEH3N3akbF5IWJGzz4TOLb6QL HiUHSLC0d+d+FseXW8kORg3ZI= Received: by filter-476.sjc1.sendgrid.net with SMTP id filter-476.2660.5590C9741E 2015-06-29 04:28:41.141647249 +0000 UTC Received: from herokuapp.com (ec2-54-89-88-59.compute-1.amazonaws.com [54.89.88.59]) by ismtpd-038 (SG) with ESMTP id 14e3d9300c4.3765.625db9 for ; Mon, 29 Jun 2015 04:28:41 +0000 (UTC) Date: Mon, 29 Jun 2015 04:28:40 +0000 From: usa@garbagecollect.jp 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: 44343 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 11291 X-Redmine-Issue-Author: eagletmt 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS7R3CCfEPoxSCVe4k1YofBvTNzv/dlaewE6Un 1FSFhEB03uH8bhOBHaEm1kBvj0okz22zSIf8yciBG1LBxfIO9w5KjdlF0M6Wq6NyWooViTCkWcQ60v 4SxHvD9SVXFSwdU= X-ML-Name: ruby-core X-Mail-Count: 69766 Subject: [ruby-core:69766] [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 Usaku NAKAMURA. Backport changed from 2.0.0: UNKNOWN, 2.1: REQUIRED, 2.2: DONE to 2.0.0: UNKNOWN, 2.1: DONE, 2.2: DONE ruby_2_1 r51059 merged revision(s) 50982,50983. ---------------------------------------- Bug #11291: [PATCH] Check SPECIAL_CONST_P before RBASIC_CLASS to avoid SEGV https://bugs.ruby-lang.org/issues/11291#change-53142 * 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: DONE, 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/