Skip to content

Commit

Permalink
Fix DacEnumerableHashTable enumerator
Browse files Browse the repository at this point in the history
The enumerator was missing the last 2 buckets

Fixes dotnet#65013
  • Loading branch information
jkotas committed Feb 10, 2022
1 parent 0c28639 commit 872c98d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/vm/dacenumerablehash.inl
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ DPTR(VALUE) DacEnumerableHashTable<DAC_ENUM_HASH_ARGS>::BaseIterator::Next()
DPTR(PTR_VolatileEntry) curBuckets = m_pTable->GetBuckets();
DWORD cBuckets = GetLength(curBuckets);

while (m_dwBucket < cBuckets)
while (m_dwBucket < cBuckets + SKIP_SPECIAL_SLOTS)
{
if (m_pEntry == NULL)
{
Expand Down

0 comments on commit 872c98d

Please sign in to comment.