]> Cypherpunks repositories - gostls13.git/commit
debug/elf: don't panic if symtab too small
authorIan Lance Taylor <iant@golang.org>
Sun, 24 Aug 2025 20:17:56 +0000 (13:17 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 28 Aug 2025 02:46:19 +0000 (19:46 -0700)
commit765905e3bd13dcb048388890dba2ea47f6e58711
treef09851359b10624254773eaedd45d2fd763e7255
parent2ee4b31242e426df757aa09450b744e0af8cb08d
debug/elf: don't panic if symtab too small

No test case because the problem can only happen for invalid data.
Let the fuzzer find cases like this.

For #47653
Fixes #75130

Change-Id: Ie6015564bb98334377383bbc16d79119dc4e36f9
Reviewed-on: https://go-review.googlesource.com/c/go/+/698855
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Florian Lehner <lehner.florian86@gmail.com>
src/debug/elf/file.go