Project

General

Profile

Actions

Bug #12918

closed

(1/nil) can be created by Marshal.load

Added by shugo (Shugo Maeda) about 8 years ago. Updated about 8 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:78071]

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)

Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #12915: 1..nil can be created by Marshal.loadClosedmatz (Yukihiro Matsumoto)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0