Marcus Meissner : ntdll: Initialize pointers to NULL (Coverity).

Alexandre Julliard julliard at wine.codeweavers.com
Wed May 23 08:10:58 CDT 2007


Module: wine
Branch: master
Commit: a5facc008bbeff60a30d5fd0753e408bec733979
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a5facc008bbeff60a30d5fd0753e408bec733979

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Tue May 22 21:33:27 2007 +0100

ntdll: Initialize pointers to NULL (Coverity).

---

 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 c417de8..af89b72 100644
--- a/dlls/ntdll/sec.c
+++ b/dlls/ntdll/sec.c
@@ -1559,8 +1559,8 @@ NTSTATUS WINAPI NtSetSecurityObject(HANDLE Handle,
 {
     NTSTATUS status;
     struct security_descriptor sd;
-    PACL dacl, sacl;
-    PSID owner, group;
+    PACL dacl = NULL, sacl = NULL;
+    PSID owner = NULL, group = NULL;
     BOOLEAN defaulted, present;
     DWORD revision;
     SECURITY_DESCRIPTOR_CONTROL control;




More information about the wine-cvs mailing list