summaryrefslogtreecommitdiff
path: root/spec/ruby/security
diff options
context:
space:
mode:
authorAndrew Konchin <andry.konchin@gmail.com>2025-05-07 13:08:11 +0300
committerBenoit Daloze <eregontp@gmail.com>2025-05-09 23:22:15 +0200
commit269ad29de95e41cc8a4eede84b98a81a6ff4f7b6 (patch)
tree150acf5f6d6c2d401dd46b84b942af26b3699cc9 /spec/ruby/security
parent3135eddb4e8c6975b6fa5345f15fdaa55257851a (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.rb8
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?(/&#0*((?:\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?(/&#0*((?:\d+)|(?:x[a-fA-F0-9]+));/).should == true
end
end