Closed cmdrgh closed 2 years ago
func main() { testJson := #[%"*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,,,,,,""*,*"] gjson.Get(testJson, testJson) }
#[%"*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,,,,,,""*,*"]
Fixed in 77a57fd Thanks for reporting.
@tidwall This is something that would be caught by fuzzing gjson continuously: https://github.com/google/oss-fuzz/pull/6901
func main() { testJson :=
#[%"*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,,,,,,""*,*"]
gjson.Get(testJson, testJson) }