Skip to content

Fix thread-safety issue in DriveInfo.GetDrives() on macOS by replacing getmntinfo with getfsstat#122637

Merged
stephentoub merged 8 commits into
mainfrom
copilot/fix-access-violation-in-getdrives
Jan 3, 2026
Merged

Fix thread-safety issue in DriveInfo.GetDrives() on macOS by replacing getmntinfo with getfsstat#122637
stephentoub merged 8 commits into
mainfrom
copilot/fix-access-violation-in-getdrives

Cast buffer size to int for getfsstat and check for overflow

dc1002f
Select commit
Loading
Failed to load commit list.

Select a check to view from the sidebar