aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/exec_linux.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2022-08-22 17:37:07 -0700
committerGopher Robot <gobot@golang.org>2022-08-23 20:31:52 +0000
commitb72521ee505f5f71002d6e9114d32075c2a3b847 (patch)
treeb97a47e8ec21aefeebb8891f4414423c1bfe9a18 /src/syscall/exec_linux.go
parentcf26fbb1f6d9644f447342f42d2dddcbe9ceda61 (diff)
downloadgo-b72521ee505f5f71002d6e9114d32075c2a3b847.tar.xz
debug/macho: don't use narch for seenArches map size
If narch is very large we would allocate a lot of memory for seenArches. In practice we aren't going to see many different architectures so don't bother to specify a size for the seenArches map. No debug/macho test case because the problem can only happen for invalid data. Let the fuzzer find cases like this. For #47653 For #52523 Change-Id: I5a3b0e3aa6172ddffd6f44d9ae513c39a00d8764 Reviewed-on: https://go-review.googlesource.com/c/go/+/425114 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: David Chase <drchase@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Joseph Tsai <joetsai@digital-static.net>
Diffstat (limited to 'src/syscall/exec_linux.go')
0 files changed, 0 insertions, 0 deletions