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

Decode: fix panic when parsing '0' as a float #887

Merged
merged 1 commit into from
Aug 22, 2023
Merged

Conversation

ocean2811
Copy link
Contributor

Fix (#886) : Panic when parsing '0' using parseFloat

@pelletier pelletier added the bug Issues describing a bug in go-toml. label Aug 22, 2023
@pelletier
Copy link
Owner

Surprising that this bug has been around for so long! Thank you for the report and the patch.

@pelletier pelletier changed the title Fix: Panic when parsing '0' using parseFloat (#886) Decode: fix panic when parsing '0' as a float (#886) Aug 22, 2023
@pelletier pelletier changed the title Decode: fix panic when parsing '0' as a float (#886) Decode: fix panic when parsing '0' as a float Aug 22, 2023
@pelletier pelletier merged commit bb026ca into pelletier:v2 Aug 22, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues describing a bug in go-toml.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants