Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
piksel committed Jul 30, 2022
1 parent 4b08bf1 commit 896904f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .clusterfuzzlite/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM gcr.io/oss-fuzz-base/base-builder-go
FROM gcr.io/oss-fuzz-base/base-builder-go:v1
RUN git clone --depth 1 https://github.com/containrrr/shoutrrr
COPY . $SRC/shoutrrr
WORKDIR $SRC/shoutrrr
Expand Down
2 changes: 2 additions & 0 deletions .clusterfuzzlite/build.sh
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#!/binsh

compile_go_fuzzer github.com/containrrr/shoutrrr/pkg/util/fuzz FuzzPartitionMessage fuzz_partition_message
1 change: 1 addition & 0 deletions pkg/util/fuzz/fuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"github.com/containrrr/shoutrrr/pkg/util"
)

// FuzzPartitionMessage fuzzes the util.PartitionMessage function
func FuzzPartitionMessage(data []byte) int {
f := fuzz.NewConsumer(data)

Expand Down

0 comments on commit 896904f

Please sign in to comment.