This PR adds fixes for static analysis issues including:
file permission issues
file inclusion via variable issues
It also adds a nosec comment for a cryptographically insecure PRNG (pseudo-random number generator) used in tests. We use this PRNG (math/rand) since the secure crypto/rand doesn't allow seeding (which is important for consistent tests).
An existing issue with implicit memory aliasing in a for loop will be automatically fixed by the go update to 1.22.
Overview
This PR adds fixes for static analysis issues including:
It also adds a
nosec
comment for a cryptographically insecure PRNG (pseudo-random number generator) used in tests. We use this PRNG (math/rand
) since the securecrypto/rand
doesn't allow seeding (which is important for consistent tests).An existing issue with implicit memory aliasing in a for loop will be automatically fixed by the go update to 1.22.