Author: tfaber Date: Fri Oct 23 12:40:29 2015 New Revision: 69657
URL: http://svn.reactos.org/svn/reactos?rev=69657&view=rev Log: [NTOS:SE] - Fail if the provided default DACL is invalid in NtCreateToken. CID 1237131
Modified: trunk/reactos/ntoskrnl/se/token.c
Modified: trunk/reactos/ntoskrnl/se/token.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/se/token.c?rev=696... ============================================================================== --- trunk/reactos/ntoskrnl/se/token.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/se/token.c [iso-8859-1] Fri Oct 23 12:40:29 2015 @@ -2852,6 +2852,10 @@ NonPagedPool, FALSE, &CapturedDefaultDacl); + if (!NT_SUCCESS(Status)) + { + goto Cleanup; + } }
/* Call the internal function */