mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-30 13:51:30 +00:00
c28f7cb29f
Initial part of #435
10 lines
142 B
Go
10 lines
142 B
Go
// +build gofuzz
|
|
|
|
package semver
|
|
|
|
func Fuzz(data []byte) int {
|
|
if _, err := NewVersion(string(data)); err != nil {
|
|
return 0
|
|
}
|
|
return 1
|
|
}
|