aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/subsystem/linux/maintainers_fuzz.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-01-10 12:03:02 +0100
committerAleksandr Nogikh <wp32pw@gmail.com>2023-02-10 14:34:44 +0100
commitf67b38c100fe027e65530ef702b7b4dc45b53ccd (patch)
tree0e7081a87743cb494505e0a90bc160688f3044e0 /pkg/subsystem/linux/maintainers_fuzz.go
parent7ee3f3729011edc355cf089f7823ec8c8f366457 (diff)
pkg/subsystem: add the MAINTAINERS file parsing code
Diffstat (limited to 'pkg/subsystem/linux/maintainers_fuzz.go')
-rw-r--r--pkg/subsystem/linux/maintainers_fuzz.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkg/subsystem/linux/maintainers_fuzz.go b/pkg/subsystem/linux/maintainers_fuzz.go
new file mode 100644
index 000000000..ebf4be524
--- /dev/null
+++ b/pkg/subsystem/linux/maintainers_fuzz.go
@@ -0,0 +1,11 @@
+// Copyright 2022 syzkaller project authors. All rights reserved.
+// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+package linux
+
+import "bytes"
+
+func Fuzz(data []byte) int {
+ parseLinuxMaintainers(bytes.NewReader(data))
+ return 0
+}