Skip to content

Commit

Permalink
Fix fuzzing error
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewolff committed Dec 2, 2020
1 parent 2536715 commit a76a3c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/data-uri/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import "github.com/tdewolff/parse/v2"

// Fuzz is a fuzz test.
func Fuzz(data []byte) int {
data = parse.Copy(data)
_, _, _ = parse.DataURI(data)
return 1
}

0 comments on commit a76a3c8

Please sign in to comment.