Skip to content

gh-146333: Fix quadratic regex backtracking in configparser option parsing#146399

Merged
encukou merged 2 commits into
python:mainfrom
joshuaswanson:fix/configparser-regex-backtracking
Apr 7, 2026
Merged

gh-146333: Fix quadratic regex backtracking in configparser option parsing#146399
encukou merged 2 commits into
python:mainfrom
joshuaswanson:fix/configparser-regex-backtracking

Use negative lookahead in option regex to prevent backtracking

ef1c148
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Change detection / Create context from changed files
succeeded Mar 25, 2026 in 14s