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 issue 458: Add null checking #459

Merged
merged 2 commits into from
Jan 16, 2024
Merged

Conversation

arthurscchan
Copy link
Contributor

This PR fixes issue #458 by adding a null check before accessing the length of the text string. This could avoid errors when getDecimalValue is invoked when there is no more data left in the input.

Copy link
Member

@cowtowncoder cowtowncoder left a comment

Choose a reason for hiding this comment

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

With minor change to fix, LGTM, approved, will merge.

@cowtowncoder cowtowncoder merged commit dffb2c9 into FasterXML:2.17 Jan 16, 2024
4 checks passed
@arthurscchan
Copy link
Contributor Author

Thanks for showing me the details of the problematic part.

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