* 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
This commit is contained in:
parent
0f9594eeb9
commit
38c94fa149
@ -1,3 +1,7 @@
|
|||||||
|
Wed Aug 13 18:34:22 2008 Shugo Maeda <shugo@ruby-lang.org>
|
||||||
|
|
||||||
|
* marshal.c (marshal_load): set arg.untrust properly.
|
||||||
|
|
||||||
Wed Aug 13 17:47:09 2008 Tanaka Akira <akr@fsij.org>
|
Wed Aug 13 17:47:09 2008 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* transcode.c (econv_inspect): new method.
|
* transcode.c (econv_inspect): new method.
|
||||||
|
@ -1623,6 +1623,7 @@ marshal_load(int argc, VALUE *argv)
|
|||||||
else {
|
else {
|
||||||
rb_raise(rb_eTypeError, "instance of IO needed");
|
rb_raise(rb_eTypeError, "instance of IO needed");
|
||||||
}
|
}
|
||||||
|
arg.untrust = OBJ_UNTRUSTED(port);
|
||||||
arg.src = port;
|
arg.src = port;
|
||||||
arg.offset = 0;
|
arg.offset = 0;
|
||||||
arg.compat_tbl = st_init_numtable();
|
arg.compat_tbl = st_init_numtable();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user