From ca26c583d664215c69a26db202233f587201fc0a Mon Sep 17 00:00:00 2001 From: Catena cyber <35799796+catenacyber@users.noreply.github.com> Date: Tue, 18 May 2021 22:26:44 +0200 Subject: [PATCH] cel-go: remove irrelevant panic/assert in target (#5799) --- projects/cel-go/fuzz_eval.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/cel-go/fuzz_eval.go b/projects/cel-go/fuzz_eval.go index 81eea1972..8b2764c60 100644 --- a/projects/cel-go/fuzz_eval.go +++ b/projects/cel-go/fuzz_eval.go @@ -29,7 +29,7 @@ func FuzzEval(data []byte) int { } prg, err := env.Program(ast) if err != nil { - panic("impossible to create prog from ast") + return 0 } //fmt.Printf("loltry %#+v\n", gen)