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>
Sun, 5 Dec 2021 23:55:44 +0000 (23:55 +0000)
commitc5e631e7c5d70e8aef047496d0926a3ece3ec8af
tree85046df19d77fa60712364568ef8817c472060ee
parentc9e13da85c3693928a62e0ed85b6808ab9e0afff
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