aboutsummaryrefslogtreecommitdiff
path: root/src/net/http
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2025-12-03 15:42:03 -0500
committerGopher Robot <gobot@golang.org>2026-01-22 07:33:17 -0800
commitd2aad0df601df3a48ee4823309872cd224d91aa3 (patch)
tree86bc32953ecf96ac905527457cb90ebba9a49c5c /src/net/http
parentbfb851c31eaf385649263e42e1a8620e2df01158 (diff)
downloadgo-d2aad0df601df3a48ee4823309872cd224d91aa3.tar.xz
runtime: guard unexpected return pc gp.m dereference
If stack scanning reaches here while scanning a waiting goroutine, gp.m will be nil. We are going to crash anyway because the stack is corrupt, but we still want to reach the print below for context rather than dying with a SIGSEGV here. For #64030. Change-Id: I6a6a636c378669dc45972e1eb8e06401a0fed223 Reviewed-on: https://go-review.googlesource.com/c/go/+/726522 Auto-Submit: Michael Pratt <mpratt@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/net/http')
0 files changed, 0 insertions, 0 deletions