]> Cypherpunks repositories - gostls13.git/commit
debug/elf: don't crash on empty symbol section
authorIan Lance Taylor <iant@golang.org>
Thu, 14 Sep 2023 20:36:38 +0000 (13:36 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 20 Sep 2023 19:01:19 +0000 (19:01 +0000)
commit517c66d4ee1b6b8842da34fe4c0519cfa1c58600
tree6d79714bffe084c7a177764159865e2b6b3c5386
parent5b37d720e39037fec4e298c3ae44d6487f029f92
debug/elf: don't crash on empty symbol section

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

Fixes #62649

Change-Id: Ia40b4d415e3bbffaffd143ee280949ba41346579
Reviewed-on: https://go-review.googlesource.com/c/go/+/528655
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
src/debug/elf/file.go