Skip to content
Snippets Groups Projects
Select Git revision
  • 7c73dd7de7c4f14379b781418c6e947ad464c818
  • master default protected
  • features/protected_stack
3 results

rapidjson

user avatar
Eyizoha authored
This patch fixes the issue where parsing NaN or Inf values with
fractional or exponent parts would return incorrect results
(e.g., "NaN.2e2" would be parsed as 20).
Before this patch, the parser would continue to process the fractional
and exponent parts even after successfully parsing a valid NaN or Inf,
which could lead to parsing errors. This patch adds a check for such
cases to skips the parsing of the fractional and exponent parts after
completing the NaN and Inf parsing.
7c73dd7d
History
user avatar 7c73dd7d
Name Last commit Last update