diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-13 09:42:22 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-13 09:42:22 +0000 |
commit | 38c94fa149554b354b4a25c003cae046ede7a596 (patch) | |
tree | a0814773bcda8549c15b90f9218b9923f9a0059f /marshal.c | |
parent | 0f9594eeb9518738a62c45c494d651e20b92e803 (diff) | |
download | ruby-38c94fa149554b354b4a25c003cae046ede7a596.tar.gz |
* marshal.c (marshal_load): set arg.untrust properly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
-rw-r--r-- | marshal.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1623,6 +1623,7 @@ marshal_load(int argc, VALUE *argv) else { rb_raise(rb_eTypeError, "instance of IO needed"); } + arg.untrust = OBJ_UNTRUSTED(port); arg.src = port; arg.offset = 0; arg.compat_tbl = st_init_numtable(); |