blob: 54ede390326e9a45e604d03de51f09ed4585ac6c (
plain)
1
2
3
4
5
6
7
8
9
|
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
end
end
|