projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Properly setup the I/O stack location in IopSecurityFile.
[reactos.git]
/
reactos
/
ntoskrnl
/
io
/
file.c
diff --git
a/reactos/ntoskrnl/io/file.c
b/reactos/ntoskrnl/io/file.c
index
9611c4d
..
0c21f63
100644
(file)
--- a/
reactos/ntoskrnl/io/file.c
+++ b/
reactos/ntoskrnl/io/file.c
@@
-324,6
+324,7
@@
IopSecurityFile(PVOID ObjectBody,
/* Set Stack Parameters */
StackPtr = IoGetNextIrpStackLocation(Irp);
+ StackPtr->MajorFunction = MajorFunction;
StackPtr->FileObject = FileObject;
/* Set Parameters */