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/branches/ruby_1_8@20525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2008-12-04 16:27:46 +00:00
parent fbdf8cb879
commit 6fa92af4ed
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.
Thu Dec 4 16:19:18 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/openssl/ossl_ssl.c (ossl_ssl_read_nonblock):

1
pack.c
View file

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