mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
overrun of static array
Fix for Coverity error CID: 532 svn path=/trunk/; revision=36416
This commit is contained in:
parent
1285642dcd
commit
112e87a86c
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ GetSystemInfo (
|
|||
BOOL STDCALL
|
||||
IsProcessorFeaturePresent(DWORD ProcessorFeature)
|
||||
{
|
||||
if (ProcessorFeature > PROCESSOR_FEATURE_MAX)
|
||||
if (ProcessorFeature >= PROCESSOR_FEATURE_MAX)
|
||||
return(FALSE);
|
||||
|
||||
return((BOOL)SharedUserData->ProcessorFeatures[ProcessorFeature]);
|
||||
|
|
Loading…
Reference in a new issue