Skip to content

Fix handling of truncated two-digit hex escapes #106

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
Jun 3, 2020

Conversation

sjamesr
Copy link
Contributor

@sjamesr sjamesr commented Jun 2, 2020

Previously, the parser was unconditionally pop()ing two chars without
checking if the second was available.

Fixes #103.

Previously, the parser was unconditionally pop()ing two chars without
checking if the second was available.

Fixes google#103.
@sjamesr sjamesr merged commit 40caa73 into google:master Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

StringIndexOutOfBoundsException in parseEscape
2 participants