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-10-28 00:34:24 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
8af468558766a80af7025d6480389538a1c2c0ea
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.24.7 Page: 28ms Template: 1ms
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