aboutsummaryrefslogtreecommitdiff
path: root/src/syscall
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo@golang.org>2024-08-01 19:59:07 +0200
committerFilippo Valsorda <filippo@golang.org>2024-10-07 15:33:40 +0000
commit534d6a1a9c81b25bdad1052e736b2f072caa3903 (patch)
tree0da2b5541cdcc781d39a8aa3d8df996a33fe22a2 /src/syscall
parentc050d42e1a7d7b02b2205c116e8c98fc49aab6a9 (diff)
downloadgo-534d6a1a9c81b25bdad1052e736b2f072caa3903.tar.xz
crypto/rand: prevent Read argument from escaping to heap
Mateusz had this idea before me in CL 578516, but it got much easier after the recent cleanup. It's unfortunate we lose the test coverage of batched, but the package is significantly simpler than when we introduced it, so it should be easier to review that everything does what it's supposed to do. Fixes #66779 Co-authored-by: Mateusz Poliwczak <mpoliwczak34@gmail.com> Change-Id: Id35f1172e678fec184efb0efae3631afac8121d0 Reviewed-on: https://go-review.googlesource.com/c/go/+/602498 Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Roland Shoemaker <roland@golang.org> Reviewed-by: Daniel McCarney <daniel@binaryparadox.net> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/syscall')
0 files changed, 0 insertions, 0 deletions