testing: fuzz []byte arguments may be aliased slices #71831
Labels
BugReport
Issues describing a possible bug in the Go implementation.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Go version
go version go1.24.0 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
Here is minimal example: https://github.com/nikolaydubina/go-fuzz-bytes-collision
What did you see happen?
keeps failing. each time it records new values to file. but manually running the same values in t.Test succeeds. also fuzz test passes "tests" before starting to fuzz, meaning even to fuzz test itself those values that it recorded is correct upon running again. this leads to believe something is wrong in "generation" / "first time creation of []byte args" step in fuzz tests.
What did you expect to see?
fuzz test should be ok, same as test above it
each argument to fuzz test (including
[]byte
) should be independent from each otherThe text was updated successfully, but these errors were encountered: