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

From: eagletmt@...
Date: 2015-06-20 17:06:55 UTC
List: ruby-core #69692
Issue #11291 has been reported by Kohei Suzuki.

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

* 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: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
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