Skip to content

Commit

Permalink
Rename variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakule committed Feb 18, 2022
1 parent c6c0942 commit 1a5d620
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/srv/db/sqlserver/protocol/fuzz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
)

func FuzzMSSQLLogin(f *testing.F) {
corpuses := [][]byte{
testcases := [][]byte{
{},
[]byte("\x100\x00x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"),
[]byte("\x100\x00x00000000000000000000000000000000000000000000\xff\xff0\x800000000000000000000000000\x00 \x000000000000000000000000000000000000000000"),
Expand All @@ -38,8 +38,8 @@ func FuzzMSSQLLogin(f *testing.F) {
[]byte("\x100\x00x000000000000000000000000000000000000000000000\x00\x00\x800000000000000000000000000\x00\xff\xff0000000000000000000000000000000000000000"),
}

for _, corpus := range corpuses {
f.Add(corpus)
for _, tc := range testcases {
f.Add(tc)
}

f.Fuzz(func(t *testing.T, packet []byte) {
Expand Down

0 comments on commit 1a5d620

Please sign in to comment.