]> Cypherpunks repositories - gostls13.git/commit
runtime: improve message when a bad pointer is found on the stack
authorAustin Clements <austin@google.com>
Fri, 2 Sep 2016 16:14:38 +0000 (12:14 -0400)
committerAustin Clements <austin@google.com>
Fri, 2 Sep 2016 17:04:37 +0000 (17:04 +0000)
commit3df926d52addd638e23e5b29e692bb670e484966
treeb7b5e390bdf444293263c36ccc0eaebb33b8a82c
parent210ac4d5e0fea2bfd4287b0865104bdaaeaffe05
runtime: improve message when a bad pointer is found on the stack

Currently this message says "invalid stack pointer", which could be
interpreted as the value of SP being invalid. Change it to "invalid
pointer found on stack" to emphasize that it's a pointer on the stack
that's invalid.

Updates #16948.

Change-Id: I753624f8cc7e08cf13d3ea5d9c790cc4af9fa372
Reviewed-on: https://go-review.googlesource.com/28430
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/runtime/stack.go