encoding/json: Inconsistent results with pointers and duplicated keys #31776
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
https://play.golang.org/p/8ELiG37J-JI
What did you expect to see?
What did you see instead?
As mentioned is dvyukov/go-fuzz-corpus#3, although the result itself is valid stricto sensu, it is inconsistent. We would expect either the first or the last indirection to be always nil, while it seems to depends on the previous value of the field.
The text was updated successfully, but these errors were encountered: