]> Cypherpunks repositories - gostls13.git/commit
crypto/rand: crash program if Read would return an error
authorFilippo Valsorda <filippo@golang.org>
Thu, 1 Aug 2024 17:07:32 +0000 (19:07 +0200)
committerFilippo Valsorda <filippo@golang.org>
Mon, 7 Oct 2024 15:33:28 +0000 (15:33 +0000)
commitc050d42e1a7d7b02b2205c116e8c98fc49aab6a9
treec41424dfa082788f3f7d972efb4b9a232868c0f3
parenta62566fbb9e5d96b08869634d70a4e5a34f89958
crypto/rand: crash program if Read would return an error

Fixes #66821
Fixes #54980

Change-Id: Ib081f4e4f75c7936fc3f5b31d3bd07cca1c2a55c
Reviewed-on: https://go-review.googlesource.com/c/go/+/602497
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
src/crypto/rand/example_test.go
src/crypto/rand/rand.go
src/crypto/rand/util.go
src/runtime/panic.go