Skip to content

fix: replace O(n^2) regex with linear string search in code block extraction (ReDoS)#6118

Closed
Ashutosh0x wants to merge 3 commits into
google:mainfrom
Ashutosh0x:fix/redos-code-extraction
Closed

fix: replace O(n^2) regex with linear string search in code block extraction (ReDoS)#6118
Ashutosh0x wants to merge 3 commits into
google:mainfrom
Ashutosh0x:fix/redos-code-extraction

Merge branch 'main' into fix/redos-code-extraction

839ab40
Select commit
Loading
Failed to load commit list.
Google CLA / cla/google succeeded Jun 17, 2026 in 13s

✅ All contributors are covered under a CLA with Google

See https://cla.developers.google.com/ for more info about Google's Contributor License Agreement (CLA).

ℹ️ Googlers: Go here to view more details and manage scans for this pull request.

Details

The following contributors were found for this pull request:

93f5a20 Author: @Ashutosh0x <ashut**********ngh0x​@gmail.com>
839ab40 Author: @rohityan <rya******la​@google.com>

(Only the first commit for a unique contributor is listed.)