From 5e05d76ebac2e88922af5256ef1806dd13aa3fdb Mon Sep 17 00:00:00 2001 From: brigadier-general Date: Wed, 26 Jun 2024 16:28:13 -0500 Subject: [PATCH] Update objfile.go - OOB indexing fix --- objfile/objfile.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/objfile/objfile.go b/objfile/objfile.go index a5f54c9..83d31c8 100644 --- a/objfile/objfile.go +++ b/objfile/objfile.go @@ -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 }