git://git.jankratochvil.net
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7de08d6
)
IoCreateFile(): Fixed missing init of field: FsContext,FsContext2
author
short
<>
Tue, 4 Feb 2003 17:59:08 +0000
(17:59 +0000)
committer
short
<>
Tue, 4 Feb 2003 17:59:08 +0000
(17:59 +0000)
ntoskrnl/io/create.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/io/create.c
b/ntoskrnl/io/create.c
index
f1254dd
..
12b46d8
100644
(file)
--- a/
ntoskrnl/io/create.c
+++ b/
ntoskrnl/io/create.c
@@
-367,6
+367,8
@@
IoCreateFile(OUT PHANDLE FileHandle,
if( CreateOptions & FILE_NO_INTERMEDIATE_BUFFERING )
FileObject->Flags |= FO_NO_INTERMEDIATE_BUFFERING;
+ FileObject->FsContext=NULL;
+ FileObject->FsContext2=NULL;
RtlZeroMemory(&AccessState, sizeof(AccessState));
AccessState.RemainingDesiredAccess=0;