projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eed3e59
)
- Fixed the allocated size for the KernelCallbackTable.
author
Hartmut Birr
<osexpert@googlemail.com>
Fri, 15 Aug 2003 10:17:09 +0000
(10:17 +0000)
committer
Hartmut Birr
<osexpert@googlemail.com>
Fri, 15 Aug 2003 10:17:09 +0000
(10:17 +0000)
svn path=/trunk/; revision=5579
reactos/lib/ntdll/ldr/startup.c
patch
|
blob
|
history
diff --git
a/reactos/lib/ntdll/ldr/startup.c
b/reactos/lib/ntdll/ldr/startup.c
index
9cd02b4
..
d77a583
100644
(file)
--- a/
reactos/lib/ntdll/ldr/startup.c
+++ b/
reactos/lib/ntdll/ldr/startup.c
@@
-1,4
+1,4
@@
-/* $Id: startup.c,v 1.5
2 2003/05/21 16:10:12 ekohl
Exp $
+/* $Id: startup.c,v 1.5
3 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);