vivkin / gason

Lightweight and fast JSON parser for C++
MIT License
338 stars 51 forks source link

Parsing 1e-21474836311 causes infinity loop #13

Closed miloyip closed 9 years ago

miloyip commented 9 years ago

When parsing numbers with big negative exponent, such as [1e-21474836311], gason gets into infinity loop.

vivkin commented 9 years ago

Fixed and add to tests. Thanks 😀