mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
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:
parent
21631ecabe
commit
a199dc848e
3 changed files with 7 additions and 1 deletions
1
pack.c
1
pack.c
|
@ -1001,6 +1001,7 @@ pack_pack(ary, fmt)
|
|||
if (associates) {
|
||||
rb_str_associate(res, associates);
|
||||
}
|
||||
OBJ_INFECT(res, fmt);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue