aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2026-04-09 14:43:28 -0700
committerGopher Robot <gobot@golang.org>2026-04-10 11:09:20 -0700
commit6064169e0507e71305e7b600e607e357fc842dd9 (patch)
tree525e76c78c911841c91a20694d3a71fd82a4646b /src/cmd
parent11655d2c1420dcc869a8e43087668221b657c67f (diff)
downloadgo-6064169e0507e71305e7b600e607e357fc842dd9.tar.xz
debug/elf: use saferio.SliceCap for segment slice
This avoids using a lot of memory for an invalid segment count. No test case because the problem can only happen for invalid ata. Let the fuzzer find cases like this. For #47653 Fixes #78611 Change-Id: I649f5446496bfa46668e7a3e5c84c82131e1d136 Reviewed-on: https://go-review.googlesource.com/c/go/+/765061 Reviewed-by: David Chase <drchase@google.com> Auto-Submit: Ian Lance Taylor <iant@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Junyang Shao <shaojunyang@google.com>
Diffstat (limited to 'src/cmd')
0 files changed, 0 insertions, 0 deletions