Fabian Maurer : secur32: In LsaLookupAuthenticationPackage properly set out parameter (cppcheck).

Alexandre Julliard julliard at winehq.org
Tue Oct 3 15:39:53 CDT 2017


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

Author: Fabian Maurer <dark.shadow4 at web.de>
Date:   Tue Oct  3 17:19:23 2017 +0200

secur32: In LsaLookupAuthenticationPackage properly set out parameter (cppcheck).

Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/secur32/lsa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/secur32/lsa.c b/dlls/secur32/lsa.c
index fa765ed..6fa9972 100644
--- a/dlls/secur32/lsa.c
+++ b/dlls/secur32/lsa.c
@@ -96,7 +96,7 @@ NTSTATUS WINAPI LsaLookupAuthenticationPackage(HANDLE LsaHandle,
         PLSA_STRING PackageName, PULONG AuthenticationPackage)
 {
     FIXME("%p %p %p stub\n", LsaHandle, PackageName, AuthenticationPackage);
-    AuthenticationPackage = NULL;
+    *AuthenticationPackage = 0;
     return STATUS_SUCCESS;
 }
 




More information about the wine-cvs mailing list