Skip to content

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

Merged
pelletier merged 1 commit intopelletier:v2from
ocean2811:v2
Aug 22, 2023
Merged

Decode: fix panic when parsing '0' as a float#887
pelletier merged 1 commit intopelletier:v2from
ocean2811:v2

Conversation

@ocean2811
Copy link
Copy Markdown
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
Copy Markdown
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
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