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

* pack.c (pack_pack): propagate taint status from format string to

result string.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2008-12-04 16:20:02 +00:00
parent 80a3f22b77
commit 408ca7cbb1
2 changed files with 6 additions and 0 deletions

View file

@ -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.
Fri Dec 5 00:34:10 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* process.c (run_exec_dup2): need to sort by reverted order when

1
pack.c
View file

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