projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e42e69
)
bugfix from w3seek : bug 1474 : NTMARTA: GetExplicitEntriesFromAcl should return...
author
Magnus Olsen
<magnus@greatlord.com>
Thu, 22 Jun 2006 20:34:23 +0000
(20:34 +0000)
committer
Magnus Olsen
<magnus@greatlord.com>
Thu, 22 Jun 2006 20:34:23 +0000
(20:34 +0000)
svn path=/trunk/; revision=22507
reactos/dll/win32/ntmarta/ntmarta.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/ntmarta/ntmarta.c
b/reactos/dll/win32/ntmarta/ntmarta.c
index
8295da3
..
564fe98
100644
(file)
--- a/
reactos/dll/win32/ntmarta/ntmarta.c
+++ b/
reactos/dll/win32/ntmarta/ntmarta.c
@@
-1154,10
+1154,15
@@
AccRewriteGetExplicitEntriesFromAcl(PACL pacl,
}
else
{
- *pcCountOfExplicitEntries = 0;
- *pListOfExplicitEntries = NULL;
+ goto EmptyACL;
}
}
+ else
+ {
+EmptyACL:
+ *pcCountOfExplicitEntries = 0;
+ *pListOfExplicitEntries = NULL;
+ }
/* restore the last error code */
SetLastError(LastErr);