Project

General

Profile

Actions

Bug #6540

closed

marshal_load discards frozen objects

Added by nobu (Nobuyoshi Nakada) almost 12 years ago. Updated almost 12 years ago.

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


Related issues 1 (0 open1 closed)

Has duplicate Ruby master - Bug #6541: marshal_load discards frozen objectsClosednobu (Nobuyoshi Nakada)06/04/201206/04/2012Actions
Actions #1

Updated by nobu (Nobuyoshi Nakada) almost 12 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

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]
Actions

Also available in: Atom PDF

Like0
Like0