Author: janderwald
Date: Thu Jun 25 11:16:26 2009
New Revision: 41605
URL:
http://svn.reactos.org/svn/reactos?rev=41605&view=rev
Log:
- Don't modify access status when function fails
- reduces advapi32_winetest security failures by 3
Modified:
trunk/reactos/dll/win32/advapi32/token/token.c
Modified: trunk/reactos/dll/win32/advapi32/token/token.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/token/t…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/token/token.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/token/token.c [iso-8859-1] Thu Jun 25 11:16:26 2009
@@ -172,7 +172,7 @@
{
/* Access denied */
SetLastError(RtlNtStatusToDosError(NtAccessStatus));
- *AccessStatus = FALSE;
+ return FALSE;
}
else
{