aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/deadcode/deadcode.go
diff options
context:
space:
mode:
authorThan McIntosh <thanm@google.com>2022-03-18 11:36:21 -0400
committerThan McIntosh <thanm@google.com>2022-03-21 17:14:08 +0000
commit627d6d6d5542a1ccf956a16608b0bc820568c09b (patch)
tree30669fcbcb345d9682ac766efc316503aee1322d /src/cmd/compile/internal/deadcode/deadcode.go
parent3f8a6941553ae007638335cb6af0b6a702adf64f (diff)
downloadgo-627d6d6d5542a1ccf956a16608b0bc820568c09b.tar.xz
debug/dwarf: better error detection in parseUnits
Tweak the (*Data).parseUnits method to check a bit more carefully for buffer read errors, so as to avoid infinite looping on malformed inputs. Fixes #51758. Updates #47653. Change-Id: I6d67fcb53392acf651ceec636789ab9e49ad5a5c Reviewed-on: https://go-review.googlesource.com/c/go/+/393874 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Than McIntosh <thanm@google.com> Run-TryBot: Than McIntosh <thanm@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/deadcode/deadcode.go')
0 files changed, 0 insertions, 0 deletions