Skip to content

Commit

Permalink
Update objfile.go - OOB indexing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brigadier-general authored Jun 26, 2024
1 parent 31e5ef1 commit 5e05d76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions objfile/objfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ func (e *Entry) PCLineTable(versionOverride string, knownPclntabVA uint64, known
// we do it here for access to the Entry object
for i, fn := range candidate.ParsedPclntab.Funcs {
// calc inline data VAs
pcd_InlIndex, fnd_InlTree := fn.HasInline()
if pcd_InlIndex == 0 && fnd_InlTree == 0 {
fnd_InlTree := fn.HasInline()
if fnd_InlTree == 0xffff {
// no inline tree data for this function
continue
}
Expand Down

0 comments on commit 5e05d76

Please sign in to comment.