diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-05 13:33:49 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-05 13:33:49 +0000 |
commit | 2ebd4baec095be6de78a490992c887b041be2c8f (patch) | |
tree | 2b41aecf752701569c21850d4363e1ee4dcc4597 | |
parent | 366bc6de98c1bb23a2c14d2284a7cc7888b86fd6 (diff) |
merges r20524 from trunk into ruby_1_9_1.
* 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_9_1@20550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | pack.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Fri Dec 5 01:19:21 2008 Yukihiro Matsumoto <matz@ruby-lang.org> + + * pack.c (pack_pack): propagate taint status from format string to + result string. + Thu Dec 4 23:02:13 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp> * spec/default.mspec: follows changes in rubyspec project. @@ -1017,6 +1017,7 @@ pack_pack(VALUE ary, VALUE fmt) if (associates) { rb_str_associate(res, associates); } + OBJ_INFECT(res, fmt); return res; } |