Skip to content

Commit

Permalink
fuzz: skip string index out of range
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Nov 27, 2023
1 parent f92bb79 commit 5455cf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/fuzz/fuzz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func FuzzExpr(f *testing.F) {
regexp.MustCompile(`reflect: call of reflect.Value.Call on .* Value`),
regexp.MustCompile(`reflect: call of reflect.Value.Index on map Value`),
regexp.MustCompile(`reflect: call of reflect.Value.Len on .* Value`),
regexp.MustCompile(`reflect: string index out of range`),
regexp.MustCompile(`strings: negative Repeat count`),
regexp.MustCompile(`strings: illegal bytes to escape`),
regexp.MustCompile(`operator "in" not defined on int`),
Expand Down

0 comments on commit 5455cf8

Please sign in to comment.