go/doc/next
Alan Donovan 69e75c8581 runtime: properly frame panic values in tracebacks
This CL causes the printing of panic values to ensure that all
newlines in the output are immediately followed by a tab, so
that there is no way for a maliciously crafted panic value to
fool a program attempting to parse the traceback into thinking
that the panic value is in fact a goroutine stack.

See https://github.com/golang/go/issues/64590#issuecomment-1932675696

+ release note

Updates #64590
Updates #63455

Change-Id: I5142acb777383c0c122779d984e73879567dc627
Reviewed-on: https://go-review.googlesource.com/c/go/+/581215
Auto-Submit: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
2024-05-08 19:10:41 +00:00
..
6-stdlib math/rand/v2: add Uint 2024-05-07 18:03:11 +00:00
1-intro.md
2-language.md
3-tools.md cmd/vet: add stdversion analyzer 2024-05-03 01:02:40 +00:00
4-runtime.md runtime: properly frame panic values in tracebacks 2024-05-08 19:10:41 +00:00
5-toolchain.md cmd/go: use cache for PGO preprocessing 2024-04-18 15:39:17 +00:00
7-ports.md misc/wasm: drop wasmtime < 14 support 2024-04-11 17:09:10 +00:00