ActionsLike0
Bug #12918
closed(1/nil) can be created by Marshal.load
Description
(1/nil) can be created by Marshal.load as follows:
$ ./ruby -ve 'p Marshal.load("\x04\bU:\rRational[\ai\x060")'
ruby 2.4.0dev (2016-11-10 trunk 56682) [x86_64-linux]
(1/nil)
Added by nobu (Nobuyoshi Nakada) over 8 years ago
ActionsLike0
rational.c: check load
values are Integer. [ruby-core:78071] [Bug #12918]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e