projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c7a279
)
[NTOS:SE]
author
Thomas Faber
<thomas.faber@reactos.org>
Fri, 23 Oct 2015 12:40:29 +0000
(12:40 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Fri, 23 Oct 2015 12:40:29 +0000
(12:40 +0000)
- Fail if the provided default DACL is invalid in NtCreateToken. CID
1237131
svn path=/trunk/; revision=69657
reactos/ntoskrnl/se/token.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/se/token.c
b/reactos/ntoskrnl/se/token.c
index
248d097
..
2eeb1ff
100644
(file)
--- a/
reactos/ntoskrnl/se/token.c
+++ b/
reactos/ntoskrnl/se/token.c
@@
-2852,6
+2852,10
@@
NtCreateToken(
NonPagedPool,
FALSE,
&CapturedDefaultDacl);
+ if (!NT_SUCCESS(Status))
+ {
+ goto Cleanup;
+ }
}
/* Call the internal function */