diff options
Diffstat (limited to 'spec/ruby/security/cve_2018_16396_spec.rb')
-rw-r--r-- | spec/ruby/security/cve_2018_16396_spec.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/spec/ruby/security/cve_2018_16396_spec.rb b/spec/ruby/security/cve_2018_16396_spec.rb index 303c47a8c7..6f8a5d2f5d 100644 --- a/spec/ruby/security/cve_2018_16396_spec.rb +++ b/spec/ruby/security/cve_2018_16396_spec.rb @@ -1,25 +1,7 @@ require_relative '../spec_helper' describe "Array#pack" do - - ruby_version_is ''...'2.7' do - it "resists CVE-2018-16396 by tainting output based on input" do - "aAZBbHhuMmPp".each_char do |f| - ["123456".taint].pack(f).tainted?.should be_true - end - end - end - end describe "String#unpack" do - - ruby_version_is ''...'2.7' do - it "resists CVE-2018-16396 by tainting output based on input" do - "aAZBbHhuMm".each_char do |f| - "123456".taint.unpack(f).first.tainted?.should be_true - end - end - end - end |