Skip to content

Commit 5455cf8

Browse files
committed
fuzz: skip string index out of range
1 parent f92bb79 commit 5455cf8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/fuzz/fuzz_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ func FuzzExpr(f *testing.F) {
4242
regexp.MustCompile(`reflect: call of reflect.Value.Call on .* Value`),
4343
regexp.MustCompile(`reflect: call of reflect.Value.Index on map Value`),
4444
regexp.MustCompile(`reflect: call of reflect.Value.Len on .* Value`),
45+
regexp.MustCompile(`reflect: string index out of range`),
4546
regexp.MustCompile(`strings: negative Repeat count`),
4647
regexp.MustCompile(`strings: illegal bytes to escape`),
4748
regexp.MustCompile(`operator "in" not defined on int`),

0 commit comments

Comments
 (0)