go/src/debug
Ian Lance Taylor fc0d423789 debug/plan9obj: don't crash on EOF before symbol type
No debug/plan9obj test case because the problem can only happen for
invalid data. Let the fuzzer find cases like this.

For #47653
Fixes #54585

Change-Id: I8d3e15725b9bc09dd0e6f2750769987021f5e982
Reviewed-on: https://go-review.googlesource.com/c/go/+/425115
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Joseph Tsai <joetsai@digital-static.net>
2022-08-23 20:32:50 +00:00
..
buildinfo debug/buildinfo: add regression tests for different buildmodes 2022-08-22 11:49:45 +00:00
dwarf debug/dwarf: handle malformed line table with bad program offset 2022-06-23 19:05:29 +00:00
elf debug/elf: use saferio to read section data 2022-08-11 20:34:03 +00:00
gosym debug/gosym: fix missing symbol version for 1.2+ pclntab 2022-08-09 17:17:44 +00:00
macho debug/macho: don't use narch for seenArches map size 2022-08-23 20:31:52 +00:00
pe debug/pe: fetch section size directly in (*Section).Data 2022-08-19 21:29:19 +00:00
plan9obj debug/plan9obj: don't crash on EOF before symbol type 2022-08-23 20:32:50 +00:00