Project

General

Profile

« Previous | Next » 

Revision 4989bad4

Added by nagachika (Tomoyuki Chikanaga) about 7 years ago

infect taint flag on Array#pack and String#unpack
with the directives "B", "b", "H" and "h".

 * pack.c (pack_pack, pack_unpack_internal): infect taint flag. * test/ruby/test_pack.rb: add test for above. 

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e