]> Cypherpunks.ru repositories - gostls13.git/commit
debug/macho: use saferio to read dynamic indirect symbols
authorIan Lance Taylor <iant@golang.org>
Mon, 27 Feb 2023 23:52:52 +0000 (15:52 -0800)
committerGopher Robot <gobot@golang.org>
Tue, 28 Feb 2023 06:02:49 +0000 (06:02 +0000)
commite8fbad5de87f34d2e7632f94cac418c7436174ce
tree9aabf571bea922e20da14e200ecd5dccf957915b
parent41e8679611fdee738065b91588b7016880ffde61
debug/macho: use saferio to read dynamic indirect symbols

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

For #47653
Fixes #58755

Change-Id: I5b95a21f47ec306ad90cd6221f0566c6f8b6c3ad
Reviewed-on: https://go-review.googlesource.com/c/go/+/471835
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
src/debug/macho/file.go