-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Parsing "128.74836467836484838364836483643636483648e-336" causes a crash #1251
Comments
This can lead to a segfault. Program received signal SIGSEGV, Segmentation fault. |
Unit test demonstrating the behavior is now in #1252 |
Fixed in #1290 |
The number "128.74836467836484838364836483643636483648e-336" causes rapidjson::internal::GetCachedPower10 to overflow a signed integer.
Sanitizer report:
third_party/rapidjson/include/rapidjson/internal/diyfp.h:242:47: runtime error: signed integer overflow: 536870911 * 8 cannot be represented in type 'int'
The text was updated successfully, but these errors were encountered: