Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[cDAC] fix extant APIs#120948

Merged
max-charlamb merged 1 commit into
dotnet:mainfrom
max-charlamb:cdac-fix-extents
Oct 22, 2025
Merged

[cDAC] fix extant APIs#120948
max-charlamb merged 1 commit into
dotnet:mainfrom
max-charlamb:cdac-fix-extents

Conversation

@max-charlamb

Copy link
Copy Markdown
Member

Previously, if StartEnumExtents was called on ClrDataModule multiple times, the handle would not be reset so the results were incorrect.

Copilot AI review requested due to automatic review settings October 21, 2025 18:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a bug in ClrDataModule.StartEnumExtents where multiple calls would not properly reset the handle, causing incorrect enumeration results. The fix involves correcting misplaced closing braces that were preventing the handle from being set properly.

Key Changes

  • Corrected brace placement in StartEnumExtents to ensure the handle is always set after the lock scope ends
  • Added missing braces around debug assertions in EnumExtent to properly scope conditional code

@github-actions github-actions Bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Oct 21, 2025
@am11 am11 added area-Diagnostics-coreclr and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Oct 22, 2025
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @steveisok, @dotnet/dotnet-diag
See info in area-owners.md if you want to be subscribed.

@max-charlamb max-charlamb merged commit 5ddf25f into dotnet:main Oct 22, 2025
50 checks passed
@max-charlamb max-charlamb deleted the cdac-fix-extents branch October 22, 2025 20:42
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants