Skip to content

Commit

Permalink
carlog repair fix fuzz
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Nov 16, 2023
1 parent fcd1c8a commit 09fbb8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ributil/repair_car_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ func fuzzRepairFunc(t *testing.T, corruptOffset []int) {
return b ^ byte(corruptOffset[ci]&0xff)
}

coffs := lo.Map(corruptOffset, func(i int, v int) int {
coffs := lo.Map(corruptOffset, func(v int, i int) int {
co := v & 0x7fffffff
co >>= 8
co = co % len(testCar)
Expand Down

0 comments on commit 09fbb8f

Please sign in to comment.