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

tokenizer: Fix index-out-of-bounds on unfinished unicode escapes before EOF #9809

Merged
merged 1 commit into from
Sep 22, 2021

Conversation

squeek502
Copy link
Collaborator

@squeek502 squeek502 commented Sep 21, 2021

Follow up to #9808, pretty much the same bug but with char literals (also found via fuzzing).

Turns out these were the only other crashes found by the fuzzer, they were just being repeated a ton so I thought there'd be a lot more fixes necessary. The tokenizer fuzzer is now running cleanly so far with these fixes.

@andrewrk andrewrk merged commit 3b09262 into ziglang:master Sep 22, 2021
@andrewrk
Copy link
Member

Thanks!

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