Bug #6541

marshal_load discards frozen objects

Added by Nobuyoshi Nakada over 3 years ago. Updated about 3 years ago.

Assignee:Nobuyoshi Nakada
ruby -v:trunk Backport:

Related issues

Duplicates Ruby trunk - Bug #6540: marshal_load discards frozen objects Closed 06/03/2012
Follows Ruby trunk - Bug #6538: Mutability of Rational and Complex Rejected 06/03/2012


#1 Updated by Nobuyoshi Nakada about 3 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