[ruby-core:78071] [Ruby trunk Bug#12918] (1/nil) can be created by Marshal.load

From: shugo@...
Date: 2016-11-10 05:28:13 UTC
List: ruby-core #78071
Issue #12918 has been reported by Shugo Maeda.

----------------------------------------
Bug #12918: (1/nil) can be created by Marshal.load
https://bugs.ruby-lang.org/issues/12918

* Author: Shugo Maeda
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: 
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
(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)
```




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next