cel-go: relax assertion in fuzz target (#5782)

This commit is contained in:
Catena cyber 2021-05-17 14:19:36 +02:00 committed by GitHub
parent dfeefa2b36
commit e3d7eda1ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ func FuzzCompile(data []byte) int {
}
_, err = env.Program(ast)
if err != nil {
panic("impossible to create prog from ast")
return 0
}
return 1