projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43ab2f6
)
Zero-initialze TEB for new threads
author
Gé van Geldorp
<ge@gse.nl>
Wed, 30 Apr 2003 15:11:31 +0000
(15:11 +0000)
committer
Gé van Geldorp
<ge@gse.nl>
Wed, 30 Apr 2003 15:11:31 +0000
(15:11 +0000)
svn path=/trunk/; revision=4620
reactos/ntoskrnl/ps/create.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/ps/create.c
b/reactos/ntoskrnl/ps/create.c
index
998fd45
..
810e22a
100644
(file)
--- a/
reactos/ntoskrnl/ps/create.c
+++ b/
reactos/ntoskrnl/ps/create.c
@@
-1,4
+1,4
@@
-/* $Id: create.c,v 1.5
7 2003/04/26 23:13:33 hyperion
Exp $
+/* $Id: create.c,v 1.5
8 2003/04/30 15:11:31 gvg
Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@@
-447,6
+447,7
@@
PsCreateTeb(HANDLE ProcessHandle,
DPRINT ("TebBase %p TebSize %lu\n", TebBase, TebSize);
+ RtlZeroMemory(&Teb, sizeof(TEB));
/* set all pointers to and from the TEB */
Teb.Tib.Self = TebBase;
if (Thread->ThreadsProcess)