parseJSON incorrectly accepts comma expressions
|Reported by:||gibson042||Owned by:||gibson042|
The value returned from
parseJSON can be overridden by appending a comma and some additional JSON to the input. Native
JSON.parse implementations correctly throw exceptions on such input.
This bug is shared with JSON2.js, from which our implementation is derived.