diff options
| author | David Chase <drchase@google.com> | 2021-02-23 14:02:33 -0500 |
|---|---|---|
| committer | David Chase <drchase@google.com> | 2021-02-23 21:49:46 +0000 |
| commit | fbed561f8a596ddbd2bb599a17ea3c6e0b223602 (patch) | |
| tree | 7c66067ab17bbe3c2e98d50af55e321dd9319d0b | |
| parent | 0458d8c9830f80e8063c384bf4282843ed36a946 (diff) | |
| download | go-fbed561f8a596ddbd2bb599a17ea3c6e0b223602.tar.xz | |
runtime: reset stack poison flag accidentally set
See if this clears failure on openbsd-amd64-68 (ahem).
Change-Id: Ifa60ef711a95e5de8ad91433ffa425f75b36c76f
Reviewed-on: https://go-review.googlesource.com/c/go/+/295629
Trust: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
| -rw-r--r-- | src/runtime/stack.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/stack.go b/src/runtime/stack.go index c572f7296f..d971e5e26f 100644 --- a/src/runtime/stack.go +++ b/src/runtime/stack.go @@ -112,7 +112,7 @@ const ( stackDebug = 0 stackFromSystem = 0 // allocate stacks from system memory instead of the heap stackFaultOnFree = 0 // old stacks are mapped noaccess to detect use after free - stackPoisonCopy = 1 // fill stack that should not be accessed with garbage, to detect bad dereferences during copy + stackPoisonCopy = 0 // fill stack that should not be accessed with garbage, to detect bad dereferences during copy stackNoCache = 0 // disable per-P small stack caches // check the BP links during traceback. |
