Skip to content

Fix crash in Regex builder with many concatenated components#856

Closed
rjmansfield wants to merge 1 commit intoswiftlang:mainfrom
rjmansfield:fix-regex-builder-coalesce-crash
Closed

Fix crash in Regex builder with many concatenated components#856
rjmansfield wants to merge 1 commit intoswiftlang:mainfrom
rjmansfield:fix-regex-builder-coalesce-crash

Conversation

@rjmansfield
Copy link
Copy Markdown

Guard against empty children in indexOfCoalescableAtom to prevent range underflow in 0..<(children.count - 1).

Guard against empty children in indexOfCoalescableAtom to prevent
range underflow in 0..<(children.count - 1).
@rjmansfield
Copy link
Copy Markdown
Author

@swift-ci please test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant