Project

General

Profile

Bug #6541

marshal_load discards frozen objects

Added by nobu (Nobuyoshi Nakada) over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
trunk
[ruby-core:<unknown>]


Related issues

Is duplicate of Ruby trunk - Bug #6540: marshal_load discards frozen objectsClosed2012-06-03
Follows Ruby trunk - Bug #6538: Mutability of Rational and ComplexRejected2012-06-03

History

#1 Updated by nobu (Nobuyoshi Nakada) over 5 years ago

  • Status changed from Assigned to Closed

This issue was solved with changeset r36175.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


random.c: check initialize and load

  • random.c (random_init, random_load): cannot initialize frozen object again, nor with tainted/untrusted object. [Bug #6540]

Also available in: Atom PDF