1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* marshal.c (marshal_load): arg.data is no longer a VALUE but a

st_table, and freed in load_ensure.  pointed out by pegacorn.
  [ruby-dev:37008]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-11-03 06:52:06 +00:00
parent 5a7eccccde
commit f6b821f644
3 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,9 @@
Mon Nov 3 15:52:04 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* marshal.c (marshal_load): arg.data is no longer a VALUE but a
st_table, and freed in load_ensure. pointed out by pegacorn.
[ruby-dev:37008]
Fri Oct 31 12:51:25 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* dir.c (dir_globs): need taint check. reported by steve

View file

@ -1493,7 +1493,6 @@ marshal_load(argc, argv)
if (!NIL_P(proc)) arg.proc = proc;
v = rb_ensure(load, (VALUE)&arg, load_ensure, (VALUE)&arg);
RBASIC(arg.data)->klass = rb_cHash;
return v;
}

View file

@ -1,15 +1,15 @@
#define RUBY_VERSION "1.8.7"
#define RUBY_RELEASE_DATE "2008-10-31"
#define RUBY_RELEASE_DATE "2008-11-03"
#define RUBY_VERSION_CODE 187
#define RUBY_RELEASE_CODE 20081031
#define RUBY_RELEASE_CODE 20081103
#define RUBY_PATCHLEVEL 5000
#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 8
#define RUBY_VERSION_TEENY 7
#define RUBY_RELEASE_YEAR 2008
#define RUBY_RELEASE_MONTH 10
#define RUBY_RELEASE_DAY 31
#define RUBY_RELEASE_MONTH 11
#define RUBY_RELEASE_DAY 3
#ifdef RUBY_EXTERN
RUBY_EXTERN const char ruby_version[];