[llvm] [DebugInfo][DWARF] Bounds-check the unit-index parallel table (PR #213285)
Matt Davis via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 4 06:51:06 PDT 2026
================
@@ -159,6 +159,8 @@ bool DWARFUnitIndex::parseImpl(DataExtractor IndexData) {
auto Index = IndexData.getU32(&Offset);
if (!Index)
continue;
----------------
enferex wrote:
I agree, the assumption of a `Contribs` with valid pointers feels wrong, and possibly a case where a malformed section could trigger a memory violation.
https://github.com/llvm/llvm-project/pull/213285
More information about the llvm-commits
mailing list