You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can reproduce the problem just by call json.Unmarshal(data, nil)
in github.com/json-iterator/go@v1.1.10/reflect.go
67 typ := reflect2.TypeOf(obj) // when we call json.Unmarshal(anydata, nil), obj is nil, so typ is nil
68 if typ.Kind() != reflect.Ptr { // nil pointer dereference on typ
How did I find the problem?
I refer to the test cases and test corpus for std json in the go-fuzz project to test json-iterator.
We can reproduce the problem just by call
json.Unmarshal(data, nil)
in github.com/json-iterator/go@v1.1.10/reflect.go
How did I find the problem?
I refer to the test cases and test corpus for std json in the go-fuzz project to test json-iterator.
see : https://github.com/dvyukov/go-fuzz-corpus/tree/master/json
The text was updated successfully, but these errors were encountered: