Author: greatlrd Date: Fri Jun 23 00:34:23 2006 New Revision: 22507
URL: http://svn.reactos.ru/svn/reactos?rev=22507&view=rev Log: bugfix from w3seek : bug 1474 : NTMARTA: GetExplicitEntriesFromAcl should return valid information for NULL-ACLs
Modified: trunk/reactos/dll/win32/ntmarta/ntmarta.c
Modified: trunk/reactos/dll/win32/ntmarta/ntmarta.c URL: http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/ntmarta/ntmarta.c?... ============================================================================== --- trunk/reactos/dll/win32/ntmarta/ntmarta.c (original) +++ trunk/reactos/dll/win32/ntmarta/ntmarta.c Fri Jun 23 00:34:23 2006 @@ -1154,9 +1154,14 @@ } else { - *pcCountOfExplicitEntries = 0; - *pListOfExplicitEntries = NULL; - } + goto EmptyACL; + } + } + else + { +EmptyACL: + *pcCountOfExplicitEntries = 0; + *pListOfExplicitEntries = NULL; }
/* restore the last error code */