mirror of
https://github.com/miniflux/v2.git
synced 2025-08-16 18:01:37 +00:00
First commit
This commit is contained in:
commit
8ffb773f43
2121 changed files with 1118910 additions and 0 deletions
15
vendor/github.com/andybalholm/cascadia/fuzz/fuzz.go
generated
vendored
Normal file
15
vendor/github.com/andybalholm/cascadia/fuzz/fuzz.go
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
package fuzz
|
||||
|
||||
import "github.com/andybalholm/cascadia"
|
||||
|
||||
// Fuzz is the entrypoint used by the go-fuzz framework
|
||||
func Fuzz(data []byte) int {
|
||||
sel, err := cascadia.Compile(string(data))
|
||||
if err != nil {
|
||||
if sel != nil {
|
||||
panic("sel != nil on error")
|
||||
}
|
||||
return 0
|
||||
}
|
||||
return 1
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue