Loop with String#scan without creating substrings
authorNobuyoshi Nakada <nobu@ruby-lang.org>
Tue, 13 Aug 2019 03:14:28 +0000 (12:14 +0900)
committerUtkarsh Gupta <utkarsh@debian.org>
Fri, 5 Jun 2020 08:55:50 +0000 (09:55 +0100)
commit2040967d238c2b49cad316ac4591dfad7577bc18
treea4ffd0ec5f54d2163867a33effb9e246969dd145
parent076ed9a0d9bde79791741193768ebeb75490606b
Loop with String#scan without creating substrings

Origin: https://github.com/ruby/ruby/commit/36e057e26ef2104bc2349799d6c52d22bb1c7d03
Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2019-16201

Create the substrings necessary parts only, instead of cutting the
rest of the buffer.  Also removed a useless, probable typo, regexp.

Gbp-Pq: Name Loop-with-String-scan-without-creating-substrings.patch
lib/webrick/httpauth/digestauth.rb
test/webrick/test_httpauth.rb