google / google/CodeCity

Protect against long-running RegExps

Open
#324 0 comments 0 reactions 0 assignees View on GitHub
enhancement server
Dominant language
JavaScript
Stars
198
Forks
38
PR merge metrics
No merged PRs in 30d

Description

Pathological backtracking can cause RegExps to take arbitrarily long to match. Apply protections, a la [JS Interpreter issue #152](https://github.com/NeilFraser/JS-Interpreter/issues/152).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.