Skip to content

Commit

Permalink
* marshal.c (marshal_load): set arg.untrust properly.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
shugo committed Aug 13, 2008
1 parent 0f9594e commit 38c94fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Wed Aug 13 18:34:22 2008 Shugo Maeda <[email protected]>

* marshal.c (marshal_load): set arg.untrust properly.

Wed Aug 13 17:47:09 2008 Tanaka Akira <[email protected]>

* transcode.c (econv_inspect): new method.
Expand Down
1 change: 1 addition & 0 deletions marshal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 38c94fa

Please sign in to comment.