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

From: usa@...
Date: 2015-06-29 04:28:40 UTC
List: ruby-core #69766
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/

In This Thread

Prev Next