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
[release/7.0] Fix RegexOptions.NonBacktracking matching end anchors at timeout check boundaries (#75308)
* Test for exposing timeout check bug
* Fix timeout check bug
* Improve naming
* Simplify test
* Make test search range higher
* Simplify test for timeout check bug
Co-authored-by: Olli Saarikivi <[email protected]>
Copy file name to clipboardExpand all lines: src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/Symbolic/SymbolicRegexMatcher.cs
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -448,13 +448,13 @@ private int FindEndPosition<TInputReader, TFindOptimizationsHandler, TNullabilit
448
448
// still check the timeout now and again to provide some semblance of the behavior a developer experiences with
449
449
// the backtracking engines. We can, however, choose a large number here, since it's not actually needed for security.
0 commit comments