mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Fixed the allocated size for the KernelCallbackTable.
svn path=/trunk/; revision=5579
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user