diff options
| author | Dmitriy Vyukov <dvyukov@google.com> | 2014-03-07 20:50:30 +0400 |
|---|---|---|
| committer | Dmitriy Vyukov <dvyukov@google.com> | 2014-03-07 20:50:30 +0400 |
| commit | f946a7ca0971027a71e057c2650fdf63d54543e8 (patch) | |
| tree | cb71b4601e9b9147b8941a2cb07adfdeac986de2 /src/pkg/runtime/stack.c | |
| parent | b08156cd874d9534776cd9ece8f6f4ab092a68a5 (diff) | |
| download | go-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
