diff options
| author | Austin Clements <austin@google.com> | 2017-11-22 15:26:35 -0500 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2017-11-22 21:44:35 +0000 |
| commit | 09739d285085d0a8440bd521d04376c8acc31ecd (patch) | |
| tree | 9392edffee1a17b239b57556f4eceeff9dde51ae /src/os/exec/exec.go | |
| parent | c6c0f47e92771c9b4fced87b94c04f66e5d6eba5 (diff) | |
| download | go-09739d285085d0a8440bd521d04376c8acc31ecd.tar.xz | |
runtime: call throw on systemstack in exitsyscall
If exitsyscall tries to grow the stack it will panic, but throw calls
print, which can grow the stack. Move the two bare throws in
exitsyscall to the system stack.
Updates #21431.
Change-Id: I5b29da5d34ade908af648a12075ed327a864476c
Reviewed-on: https://go-review.googlesource.com/79517
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/os/exec/exec.go')
0 files changed, 0 insertions, 0 deletions
