summaryrefslogtreecommitdiff
path: root/spec/ruby/security/cve_2024_49761_spec.rb
blob: c66b438eef602527ed9921447cba162d0a194f35 (plain)
1
2
3
4
5
6
7
require_relative '../spec_helper'

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