[ruby-cvs:72225] nagachika:r65125 (trunk): infect taint flag on Array#pack and String#unpack

nagachika at ruby-lang.org nagachika at ruby-lang.org
Thu Oct 18 00:03:10 JST 2018


nagachika	2018-10-18 00:03:10 +0900 (Thu, 18 Oct 2018)

  New Revision: 65125

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65125

  Log:
    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.

  Modified files:
    trunk/pack.c
    trunk/test/ruby/test_pack.rb


More information about the ruby-cvs mailing list