]> Cypherpunks repositories - gostls13.git/commit
debug/elf: return error in DynString for invalid dynamic section size
authorIan Lance Taylor <iant@golang.org>
Thu, 19 Oct 2023 00:30:31 +0000 (17:30 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 25 Oct 2023 19:25:38 +0000 (19:25 +0000)
commit57322b3cbf1ed26c3b19c6edcd5758c794a36467
treeca532edecf3183ee20004d186e845c31eb1ad875
parent9cdcb01320d9a866e46a2daedb9bde16e0d51278
debug/elf: return error in DynString for invalid dynamic section size

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

Fixes #63610

Change-Id: I797b4d9bdb08286ad3e3a9a6f800ee8c90cb7261
Reviewed-on: https://go-review.googlesource.com/c/go/+/536400
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Ian Lance Taylor <iant@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: Mauri de Souza Meneguzzo <mauri870@gmail.com>
src/debug/elf/file.go