projects
/
stockfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0194da0
)
Simplify SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX loop (#1892)
author
noobpwnftw
<noobpwnftw@users.noreply.github.com>
Mon, 24 Dec 2018 10:24:29 +0000
(18:24 +0800)
committer
Marco Costalba
<mcostalba@users.noreply.github.com>
Mon, 24 Dec 2018 10:24:29 +0000
(11:24 +0100)
When iterating through 'SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX' structure, do not use structure member beyond known size.
API is guaranteed to provide us at lease one element upon successful, and no element in the structure can have a zero size.
No functional change.
No differences found