Skip to content

Commit

Permalink
yml 18
Browse files Browse the repository at this point in the history
  • Loading branch information
iadgovuser29 committed Jan 13, 2025
1 parent 7e5765f commit 64c1c5a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ public static void AddComponentsToManifestV2(IDictionary<int, IList<SmbiosTable>
}

public static string Strref(SmbiosTable table, int offset) {
if (offset >= table.Data.Length) {
return "";
}
int index = table.Data[offset];
return index > 0 ? table.Strings[table.Data[offset]-1] : "";
}
Expand Down

0 comments on commit 64c1c5a

Please sign in to comment.