[MSGINA] Clear the password on logoff
authorEric Kohl <eric.kohl@reactos.org>
Tue, 22 May 2018 22:27:11 +0000 (00:27 +0200)
committerEric Kohl <eric.kohl@reactos.org>
Tue, 22 May 2018 22:27:11 +0000 (00:27 +0200)
dll/win32/msgina/msgina.c

index e22413c..08cd148 100644 (file)
@@ -1024,6 +1024,9 @@ WlxLogoff(
 
     TRACE("WlxLogoff(%p)\n", pWlxContext);
 
+    /* Delete the password */
+    ZeroMemory(pgContext->Password, sizeof(pgContext->Password));
+
     /* Close the user token */
     CloseHandle(pgContext->UserToken);
     pgContext->UserToken = NULL;