• Kamal Marhubi's avatar
    Make number parsing safer · f0990c9d
    Kamal Marhubi authored
    This includes:
    - ensuring we don't go off the end of input if it's not null-terminated
    - checking for overflow and underflow
    - being more careful to check that numbers match JSON lexical syntax
    f0990c9d
json-test.c++ 18.1 KB