-
-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panic in decoder #374
Comments
It'd probably be useful for the maintainer if you had some example to reproduce this. |
func TestIssue374(t *testing.T) {
r := io.MultiReader(strings.NewReader(strings.Repeat(" ", 505)+`"\u`), strings.NewReader(`0000"`))
var v interface{}
json.NewDecoder(r).Decode(&v)
} I reproduced the panic in the same place, though it may not be the same cause. |
orisano
added a commit
to orisano/go-json
that referenced
this issue
Jul 6, 2022
orisano
added a commit
to orisano/go-json
that referenced
this issue
Jul 6, 2022
…ot satisfied after reading. fix goccy#374
orisano
added a commit
to orisano/go-json
that referenced
this issue
Jul 6, 2022
…ot satisfied after reading. fix goccy#374
orisano
added a commit
to orisano/go-json
that referenced
this issue
Jul 7, 2022
goccy
added a commit
that referenced
this issue
Jul 9, 2022
Fix unicode decoding when the expected buffer state is not met after reading
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not even sure how to start reproducing this unfortunately.
The text was updated successfully, but these errors were encountered: