Skip to content

Fix crash in parseJsxChild found by fuzzing #53674

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

Merged
merged 1 commit into from
Apr 5, 2023

Conversation

jakebailey
Copy link
Member

Found this case in fuzzing.

This fix is basically the same as #52450. I didn't change this location because I thought it couldn't be hit, but, I was wrong!

The crash already occurs before 5.0, but the assert moved from one place to another in #52667. So this isn't a 5.0 regression, per se.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Apr 5, 2023
@jakebailey
Copy link
Member Author

@DanielRosenwasser Should this be backported?

@jakebailey
Copy link
Member Author

I think the answer is no, for now, but if someone reports this we can grab it. But, it would crash before, so probably not.

@jakebailey jakebailey closed this Apr 5, 2023
@jakebailey jakebailey reopened this Apr 5, 2023
@jakebailey jakebailey merged commit f243b98 into microsoft:main Apr 5, 2023
@jakebailey jakebailey deleted the fix-another-crash branch April 5, 2023 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants