diff options
| author | Andrew Konchin <andry.konchin@gmail.com> | 2025-05-07 13:08:11 +0300 |
|---|---|---|
| committer | Benoit Daloze <eregontp@gmail.com> | 2025-05-09 23:22:15 +0200 |
| commit | 269ad29de95e41cc8a4eede84b98a81a6ff4f7b6 (patch) | |
| tree | 150acf5f6d6c2d401dd46b84b942af26b3699cc9 /spec/ruby/security | |
| parent | 3135eddb4e8c6975b6fa5345f15fdaa55257851a (diff) | |
Update to ruby/spec@d8bacef
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13265
Diffstat (limited to 'spec/ruby/security')
| -rw-r--r-- | spec/ruby/security/cve_2024_49761_spec.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/spec/ruby/security/cve_2024_49761_spec.rb b/spec/ruby/security/cve_2024_49761_spec.rb index 54ede39032..c66b438eef 100644 --- a/spec/ruby/security/cve_2024_49761_spec.rb +++ b/spec/ruby/security/cve_2024_49761_spec.rb @@ -1,9 +1,7 @@ require_relative '../spec_helper' -ruby_version_is "3.2" do - describe "CVE-2024-49761 is resisted by" do - it "the Regexp implementation handling that regular expression in linear time" do - Regexp.linear_time?(/�*((?:\d+)|(?:x[a-fA-F0-9]+));/).should == true - end +describe "CVE-2024-49761 is resisted by" do + it "the Regexp implementation handling that regular expression in linear time" do + Regexp.linear_time?(/�*((?:\d+)|(?:x[a-fA-F0-9]+));/).should == true end end |
