Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When parsing a number at the top level, validate name
If a string starting with an integer (but not solely an integer) is passed as an argument to be decoded by the JSON parser, the parser will crash because NULL is eventually handed to strcmp(3). Integers aren't valid at the top level anyway.
- Loading branch information