aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/stack.c
diff options
context:
space:
mode:
authorDmitriy Vyukov <dvyukov@google.com>2014-03-07 20:50:30 +0400
committerDmitriy Vyukov <dvyukov@google.com>2014-03-07 20:50:30 +0400
commitf946a7ca0971027a71e057c2650fdf63d54543e8 (patch)
treecb71b4601e9b9147b8941a2cb07adfdeac986de2 /src/pkg/runtime/stack.c
parentb08156cd874d9534776cd9ece8f6f4ab092a68a5 (diff)
downloadgo-f946a7ca0971027a71e057c2650fdf63d54543e8.tar.xz
runtime: fix memory corruption and leak in recursive panic handling
Recursive panics leave dangling Panic structs in g->panic stack. At best it leads to a Defer leak and incorrect output on a subsequent panic. At worst it arbitrary corrupts heap. LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/72480043
Diffstat (limited to 'src/pkg/runtime/stack.c')
0 files changed, 0 insertions, 0 deletions