aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/exec.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2016-10-26 14:34:20 -0400
committerAustin Clements <austin@google.com>2016-10-28 19:14:03 +0000
commit88518e7dd6a118167aa71851a3a9f24d0230bc82 (patch)
tree33d2d55796f9466e0c03156a0468d1aeb90d6512 /src/os/exec/exec.go
parentd3836aba316a6a5ee9410b9abd2f42120af4ffe6 (diff)
downloadgo-88518e7dd6a118167aa71851a3a9f24d0230bc82.tar.xz
runtime: zero-initialize LR on new stacks
Currently we initialize LR on a new stack by writing nil to it. But this is an initializing write since the newly allocated stack is not zeroed, so this is unsafe with the hybrid barrier. Change this is a uintptr write to avoid a bad write barrier. Updates #17503. Change-Id: I062ac352e35df7da4644c1f2a5aaab87049d1f60 Reviewed-on: https://go-review.googlesource.com/32093 Reviewed-by: Rick Hudson <rlh@golang.org>
Diffstat (limited to 'src/os/exec/exec.go')
0 files changed, 0 insertions, 0 deletions