Skip to content

Commit c03c953

Browse files
authored
Fix reading assembly store hashes in AssemblyStoreReader
The 64-bit hashes were mistakenly read as 32-bit ones. Fix the issue by passing the correct value of the `is32Bit` flag to the reader method.
1 parent 997c22e commit c03c953

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/assembly-store-reader/AssemblyStoreReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ void ReadLocalEntries (BinaryReader reader, List<AssemblyStoreAssembly> assembli
172172
void ReadGlobalIndex (BinaryReader reader, List<AssemblyStoreHashEntry> index32, List<AssemblyStoreHashEntry> index64)
173173
{
174174
ReadIndex (true, index32);
175-
ReadIndex (true, index64);
175+
ReadIndex (false, index64);
176176

177177
void ReadIndex (bool is32Bit, List<AssemblyStoreHashEntry> index) {
178178
for (uint i = 0; i < GlobalEntryCount; i++) {

0 commit comments

Comments
 (0)