mirror of
https://github.com/coredns/coredns.git
synced 2025-11-02 02:03:13 -05:00
fuzz: revert setup function (#3189)
This can't be used in its current form; revert the entire PR.
Revert "fuzzing: allow setup function to be called (#3175)"
This reverts commit 62451fd3eb.
This commit is contained in:
@@ -15,7 +15,7 @@ func Fuzz(data []byte) int {
|
||||
zone, _ := Parse(strings.NewReader(fuzzMiekNL), name, "stdin", 0)
|
||||
f := File{Next: test.ErrorHandler(), Zones: Zones{Z: map[string]*Zone{name: zone}, Names: []string{name}}}
|
||||
|
||||
return fuzz.Do(f, nil, data)
|
||||
return fuzz.Do(f, data)
|
||||
}
|
||||
|
||||
const fuzzMiekNL = `
|
||||
|
||||
Reference in New Issue
Block a user