Skip to content

Commit

Permalink
BUGFIX: Multiply row size by the next RID when computing the end offset
Browse files Browse the repository at this point in the history
  • Loading branch information
Washi1337 committed Dec 1, 2024
1 parent b88f8c0 commit e1f3a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AsmResolver.PE/DotNet/Metadata/Tables/MetadataTable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ public OffsetRange GetRowBounds(uint rid)
{
return new OffsetRange(
Offset + Layout.RowSize * (rid - 1),
Offset + Layout.RowSize
Offset + Layout.RowSize * rid
);
}

Expand Down

0 comments on commit e1f3a9c

Please sign in to comment.