mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 05:00:27 +00:00
- Fix out-of-bounds access, spotted by Christoph & GCC 4.3.0.
svn path=/trunk/; revision=31990
This commit is contained in:
parent
3ddd95ec4d
commit
57da0f7d20
2 changed files with 2 additions and 2 deletions
|
@ -446,7 +446,7 @@ CmpInitializeMachineDependentConfiguration(IN PLOADER_PARAMETER_BLOCK LoaderBloc
|
|||
}
|
||||
|
||||
/* Null-terminate it */
|
||||
CpuString[48] = ANSI_NULL;
|
||||
CpuString[47] = ANSI_NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -368,7 +368,7 @@ typedef struct _CM_USE_COUNT_LOG
|
|||
typedef struct _CMHIVE
|
||||
{
|
||||
HHIVE Hive;
|
||||
HANDLE FileHandles[3];
|
||||
HANDLE FileHandles[HFILE_TYPE_MAX];
|
||||
LIST_ENTRY NotifyList;
|
||||
LIST_ENTRY HiveList;
|
||||
EX_PUSH_LOCK HiveLock;
|
||||
|
|
Loading…
Reference in a new issue