[PATCH] (resubmit) initialize pointers to NULL
marcus at jet.franken.de
Tue May 22 15:33:27 CDT 2007
spotted by Coverity.
It is not actually using those pointers, since the
size accompanying it will always be 0.
But initialize them anyway.
dlls/ntdll/sec.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/sec.c b/dlls/ntdll/sec.c
index ee1d9b2..7093b44 100644
@@ -1561,8 +1561,8 @@ NTSTATUS WINAPI NtSetSecurityObject(HAND
struct security_descriptor sd;
- PACL dacl, sacl;
- PSID owner, group;
+ PACL dacl = NULL, sacl = NULL;
+ PSID owner = NULL, group = NULL;
BOOLEAN defaulted, present;
More information about the wine-patches