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>
Thu, 1 Oct 2020 13:24:55 +0000 (14:24 +0100)
commit07f6aa866e0399fcdc6045d3f55626c517313622
tree3d85ad35a82c8908260de89d7ad144993c716ecb
parent266727a7e51c1fe6a19ccae0e99c8967e1a356b9
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