Logo
Explore Help
Sign In
Mirrors/coredns
1
0
Fork 0
You've already forked coredns
mirror of https://github.com/coredns/coredns.git synced 2025-11-14 07:52:17 -05:00
Code Issues Packages Projects Releases Wiki Activity
Files
5599e2d1615699a29208c93e9eabc68b58555437
coredns/test/fuzz_corefile.go

13 lines
184 B
Go
Raw Normal View History

fuzz: use gofuzz build tag instead of fuzz (#3185) * fuzz: use gofuzz build tag instead of fuzz Since go-fuzz does not support Go modules yet, vendor dependencies. Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com> * fuzz: avoid vendoring code for go-fuzz Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2019-08-25 18:32:44 +05:30
// +build gofuzz
Fuzzing: add more fuzzing targets (#2402) * Add more fuzzing Signed-off-by: Miek Gieben <miek@miek.nl> * More fuzzing targets Signed-off-by: Miek Gieben <miek@miek.nl> * Fuzzing: add more fuzzing targets Also add Corefile fuzzing. Signed-off-by: Miek Gieben <miek@miek.nl>
2018-12-17 07:49:15 +00:00
package test
// Fuzz fuzzes a corefile.
func Fuzz(data []byte) int {
_, _, _, err := CoreDNSServerAndPorts(string(data))
if err != nil {
return 1
}
return 0
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 98ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API