-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.fuzzIssues related to native fuzzing supportIssues related to native fuzzing supportrelease-blocker
Milestone
Description
I've been playing around with this fuzz test:
func FuzzFuzzer(f *testing.F) {
f.Fuzz(func(t *testing.T, x int, s string) {
b := []byte(s)
if bytes.Contains(b, strconv.AppendInt(nil, int64(x), 10)) {
t.Errorf("minimize this! %d, len(s)=%d", x, len(s))
}
})
}
I've noticed that sometimes it is writing a crash that doesn't actually reproduce an error when re-run with go test. My guess is that this is a minimization issue, since I haven't been able to reproduce this bug when I set -fuzzminimizetime=0.
Still trying to figure out where the bug was introduced and why none of our tests are catching it.
/cc @golang/fuzzing
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.fuzzIssues related to native fuzzing supportIssues related to native fuzzing supportrelease-blocker
Type
Projects
Status
No status