Tools: add support for developing in OpenSUSE Tumbleweed (#6153) #7989
reviewdog [Lint Warnings] report
reported by reviewdog 🐶
Findings (5)
crypto/stateproof/verifier.go|101 col 4| G601: Implicit memory aliasing in for loop. (gosec)
ledger/store/trackerdb/generickv/migrations.go|169 col 23| G601: Implicit memory aliasing in for loop. (gosec)
ledger/store/trackerdb/sqlitedriver/schema.go|790 col 55| G601: Implicit memory aliasing in for loop. (gosec)
ledger/store/trackerdb/sqlitedriver/schema.go|799 col 52| G601: Implicit memory aliasing in for loop. (gosec)
ledger/acctdeltas.go|134 col 83| G601: Implicit memory aliasing in for loop. (gosec)
Filtered Findings (0)
Annotations
Check failure on line 101 in crypto/stateproof/verifier.go
github-actions / Lint Warnings
[Lint Warnings] crypto/stateproof/verifier.go#L101
G601: Implicit memory aliasing in for loop. (gosec)
Raw output
crypto/stateproof/verifier.go:101:4: G601: Implicit memory aliasing in for loop. (gosec)
&r.SigSlot.Sig,
^
Check failure on line 169 in ledger/store/trackerdb/generickv/migrations.go
github-actions / Lint Warnings
[Lint Warnings] ledger/store/trackerdb/generickv/migrations.go#L169
G601: Implicit memory aliasing in for loop. (gosec)
Raw output
ledger/store/trackerdb/generickv/migrations.go:169:23: G601: Implicit memory aliasing in for loop. (gosec)
bad.SetAccountData(&account)
^
Check failure on line 790 in ledger/store/trackerdb/sqlitedriver/schema.go
github-actions / Lint Warnings
[Lint Warnings] ledger/store/trackerdb/sqlitedriver/schema.go#L790
G601: Implicit memory aliasing in for loop. (gosec)
Raw output
ledger/store/trackerdb/sqlitedriver/schema.go:790:55: G601: Implicit memory aliasing in for loop. (gosec)
deleteHash := trackerdb.AccountHashBuilderV6(addr, &state.old, state.oldEnc)
^
Check failure on line 799 in ledger/store/trackerdb/sqlitedriver/schema.go
github-actions / Lint Warnings
[Lint Warnings] ledger/store/trackerdb/sqlitedriver/schema.go#L799
G601: Implicit memory aliasing in for loop. (gosec)
Raw output
ledger/store/trackerdb/sqlitedriver/schema.go:799:52: G601: Implicit memory aliasing in for loop. (gosec)
addHash := trackerdb.AccountHashBuilderV6(addr, &state.new, state.newEnc)
^
Check failure on line 134 in ledger/acctdeltas.go
github-actions / Lint Warnings
[Lint Warnings] ledger/acctdeltas.go#L134
G601: Implicit memory aliasing in for loop. (gosec)
Raw output
ledger/acctdeltas.go:134:83: G601: Implicit memory aliasing in for loop. (gosec)
normalizedAccountBalances[i].EncodedResources[resource.aidx] = protocol.Encode(&resource.ResourcesData)
^