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

Fix parsing incomplete unicode escape "\uaaa" #733

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

tompng
Copy link
Member

@tompng tompng commented Jan 20, 2025

Fix segmentation fault parsing "\uaaa"

1000.times { JSON.parse '"\\uaaa"' rescue nil }

Copy link
Member

@byroot byroot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@byroot byroot merged commit 5934182 into ruby:master Jan 20, 2025
33 checks passed
@tompng tompng deleted the unicode_escape_fix branch January 20, 2025 12:33
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.

2 participants