diff options
| author | Roland Shoemaker <roland@golang.org> | 2025-10-15 10:45:04 -0700 |
|---|---|---|
| committer | Roland Shoemaker <roland@golang.org> | 2025-10-17 08:44:33 -0700 |
| commit | 09830901714d8b3a2cc5fb33e87a81886b21ea24 (patch) | |
| tree | f916eecc42b12b9486ec155dfad501424315b848 /src/runtime/mpallocbits_test.go | |
| parent | 36863d619400910a2728c07615afe91c17415ef4 (diff) | |
| download | go-09830901714d8b3a2cc5fb33e87a81886b21ea24.tar.xz | |
encoding/pem: properly decode strange PEM data
When the passed byte slice has leading garbage, properly handle ignoring
it and continuing to parse the slice until we find a valid block (or
nothing).
Change-Id: I07e937d9c754fd71b028b99450b48f57b4464457
Reviewed-on: https://go-review.googlesource.com/c/go/+/712140
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/runtime/mpallocbits_test.go')
0 files changed, 0 insertions, 0 deletions
