Closed JeremyRand closed 1 year ago
In a couple places, the error returned by GenerateRandomCredentials is discarded:
GenerateRandomCredentials
This seems dangerous, as it will cause stream isolation to be silently disabled if the PRNG fails for some reason.
Implemented, but the error will be handled through panic, since it's not in the strace.Trace funciton. A warning can also be used, but panic might be better
Checking the errors
In a couple places, the error returned by
GenerateRandomCredentials
is discarded:This seems dangerous, as it will cause stream isolation to be silently disabled if the PRNG fails for some reason.