diff options
| author | Ian Lance Taylor <iant@golang.org> | 2026-03-23 04:38:52 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-03-25 06:14:20 -0700 |
| commit | e3bda445164c764aa95c7df271dff2170fa1a7ce (patch) | |
| tree | 0a3b39380692cacc59ea0bf3400072af03b846e1 /src/run.bash | |
| parent | cbc2d06c9ba8285bb60f1055b44d4d1e742ca734 (diff) | |
| download | go-e3bda445164c764aa95c7df271dff2170fa1a7ce.tar.xz | |
debug/elf: handle program header count overflow
ELF files only have a 16-bit count for program headers.
To handle the very rare case of larger files,
a large program header count is stored as 0xffff
and the first section header info field holds the actual count.
Fixes #78217
Change-Id: I35c7e15025a9677473cb43d09a41f17f75443731
Reviewed-on: https://go-review.googlesource.com/c/go/+/758040
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'src/run.bash')
0 files changed, 0 insertions, 0 deletions
