Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.9] Fix crash parsing document tree dump as markdown content #124

Merged

Conversation

d-ronnqvist
Copy link
Contributor

Cherry-pick of #123

  • Explanation: Fix a index out of bounds crash when parsing a one-line directive following certain unusual content.
  • Scope: Rare crash in non-typical markdown content.
  • Issue: rdar://108281578
  • Risk: Low.
  • Testing: Added test verify the behavior of example content that previously crashed.
  • Reviewer: @daniel-grumberg

@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist d-ronnqvist merged commit 15bbd52 into apple:release/5.9 Apr 25, 2023
2 checks passed
@d-ronnqvist d-ronnqvist deleted the fix-crash-parsing-tree-dump-5.9 branch April 25, 2023 18:44
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.

None yet

2 participants