You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d97fc98
Browse filesBrowse the repository at this point in the historyBrowse files
fix(table-cells): parse currency input in linear time (#10316)
parseCurrencyInput backtracked quadratically on adversarial input (CodeQL js/polynomial-redos 558-560): the marker prefix split a whitespace run around an optional sign, the unanchored marker suffix rescanned a whitespace run from every start, and AMOUNT_SHAPE had overlapping runs. All three are rewritten to linear forms with identical results (zero differences over ~28M differential comparisons), and a linear-growth test fails on the old code.
0 commit comments