diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-10 08:04:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-10 08:04:59 +0000 |
commit | 6a6362d633b7ef086523dacdd16f132739ad1d75 (patch) | |
tree | b08d090d16118eddb5b76834a9f185c9a6fcb107 /pack.c | |
parent | cf692592dcb0dcafe460eb8bf4b21851ccea9721 (diff) |
pack.c: no nil.taint
* pack.c (pack_pack): nil is not taintable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'pack.c')
-rw-r--r-- | pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -870,12 +870,12 @@ pack_pack(VALUE ary, VALUE fmt) } else { t = StringValuePtr(from); + rb_obj_taint(from); } if (!associates) { associates = rb_ary_new(); } rb_ary_push(associates, from); - rb_obj_taint(from); rb_str_buf_cat(res, (char*)&t, sizeof(char*)); } break; |