Skip to content

Replace recursive regex with linear scan in isAlphaNumber() to fix StackOverflowError#4017

Open
bann6578-boop wants to merge 2 commits into
google:masterfrom
bann6578-boop:fix-alphanumber-stackoverflow
Open

Replace recursive regex with linear scan in isAlphaNumber() to fix StackOverflowError#4017
bann6578-boop wants to merge 2 commits into
google:masterfrom
bann6578-boop:fix-alphanumber-stackoverflow

Add input length bound and replace regex in isAlphaNumber() to preven…

b4b7247
Select commit
Loading
Failed to load commit list.
Google CLA / cla/google succeeded Jun 21, 2026 in 7s

✅ 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:

b4b7247 Author: @bann6578-boop <ba****78​@gmail.com>

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