[ruby-core:69693] [Ruby trunk - Bug #11291] [PATCH] Check SPECIAL_CONST_P before RBASIC_CLASS to avoid SEGV

From: her@...
Date: 2015-06-20 20:46:25 UTC
List: ruby-core #69693
Issue #11291 has been updated by Shota Fukumori.

Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: UNKNOWN, 2.1: REQUIRED, 2.2: REQUIRED

j

----------------------------------------
Bug #11291: [PATCH] Check SPECIAL_CONST_P before RBASIC_CLASS to avoid SEGV
https://bugs.ruby-lang.org/issues/11291#change-53067

* Author: Kohei Suzuki
* Status: Open
* 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: REQUIRED
----------------------------------------
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/

In This Thread

Prev Next