diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-18 13:16:37 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-18 13:16:37 +0000 |
commit | 8c6b78c1da4565a3a625d9d17746b9bc5e38ff04 (patch) | |
tree | 742bb1059950ae175cc33c20b0318386dae02815 | |
parent | c80ddbd8598a1d59db938d9b5036311160b584d6 (diff) |
merge revision(s) 20525:
* pack.c (pack_pack): propagate taint status from format string to
result string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | pack.c | 1 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Wed Feb 18 22:12:24 2009 Yukihiro Matsumoto <matz@ruby-lang.org> + + * pack.c (pack_pack): propagate taint status from format string to + result string. + Wed Feb 18 22:05:44 2009 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> * ext/gdbm/gdbm.c: do not set members of RSTRING(str) directly. @@ -1001,6 +1001,7 @@ pack_pack(ary, fmt) if (associates) { rb_str_associate(res, associates); } + OBJ_INFECT(res, fmt); return res; } @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2009-02-18" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20090218 -#define RUBY_PATCHLEVEL 338 +#define RUBY_PATCHLEVEL 339 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 |