]> Cypherpunks repositories - gostls13.git/commit
debug/dwarf: better stmt list attr checking in LineReader
authorThan McIntosh <thanm@google.com>
Thu, 14 Apr 2022 15:14:36 +0000 (11:14 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 14 Apr 2022 18:00:13 +0000 (18:00 +0000)
commitdd97871282c28f1572f7cfe67395f848f69abb4b
treefea3810307dfbfde412ff2e2115dc5cf8aeef63f
parent62b8ec744b8e10b80f9271fed93116387c9128ef
debug/dwarf: better stmt list attr checking in LineReader

Check for insane statement list attribute values when
constructing LineReader's for a compilation unit.

Fixes #52354.

Change-Id: Icb5298db31f6c5fe34c44e0ed4fe277a7cd676b9
Reviewed-on: https://go-review.googlesource.com/c/go/+/400255
Run-TryBot: Than McIntosh <thanm@google.com>
Auto-Submit: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/debug/dwarf/line.go
src/debug/dwarf/line_test.go