pelletier / go-toml

Go library for the TOML file format
https://github.com/pelletier/go-toml
Other
1.68k stars 208 forks source link

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

Closed ocean2811 closed 11 months ago

ocean2811 commented 11 months ago

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

pelletier commented 11 months ago

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