projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8828567
)
[MSGINA] Clear the password on logoff
author
Eric Kohl
<eric.kohl@reactos.org>
Tue, 22 May 2018 22:27:11 +0000
(
00:27
+0200)
committer
Eric Kohl
<eric.kohl@reactos.org>
Tue, 22 May 2018 22:27:11 +0000
(
00:27
+0200)
dll/win32/msgina/msgina.c
patch
|
blob
|
history
diff --git
a/dll/win32/msgina/msgina.c
b/dll/win32/msgina/msgina.c
index
e22413c
..
08cd148
100644
(file)
--- a/
dll/win32/msgina/msgina.c
+++ b/
dll/win32/msgina/msgina.c
@@
-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;