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_7@22410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shyouhei 2009-02-18 13:17:08 +00:00
parent 21631ecabe
commit a199dc848e
3 changed files with 7 additions and 1 deletions

1
pack.c
View file

@ -1001,6 +1001,7 @@ pack_pack(ary, fmt)
if (associates) {
rb_str_associate(res, associates);
}
OBJ_INFECT(res, fmt);
return res;
}