-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix read access violation in psutil.cpu_count(logical=False) (#1480)
Fix read access violation in psutil.cpu_count(logical=False) by stopping the iteration through the SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX buffer when we hit the last item.
- Loading branch information
Showing
1 changed file
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters