mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
- Fixed the allocated size for the KernelCallbackTable.
svn path=/trunk/; revision=5579
This commit is contained in:
parent
eed3e59db4
commit
08be7d88cc
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: startup.c,v 1.52 2003/05/21 16:10:12 ekohl Exp $
|
||||
/* $Id: startup.c,v 1.53 2003/08/15 10:17:09 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -151,7 +151,7 @@ __true_LdrInitializeThunk (ULONG Unknown1,
|
|||
Peb->KernelCallbackTable =
|
||||
RtlAllocateHeap(RtlGetProcessHeap(),
|
||||
0,
|
||||
sizeof(PVOID) * USER32_CALLBACK_MAXIMUM);
|
||||
sizeof(PVOID) * (USER32_CALLBACK_MAXIMUM + 1));
|
||||
|
||||
/* initalize loader lock */
|
||||
RtlInitializeCriticalSection (&LoaderLock);
|
||||
|
|
Loading…
Reference in a new issue