* setlsapwd.cc (setlsapwd): Use RtlSecureZeroMemory to delete password
from memory.
This commit is contained in:
parent
5e6b3cafa2
commit
b8b4455f8f
@ -1,3 +1,8 @@
|
||||
2014-03-06 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* setlsapwd.cc (setlsapwd): Use RtlSecureZeroMemory to delete password
|
||||
from memory.
|
||||
|
||||
2014-03-05 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* ldap.cc (rediscover_thread): Remove.
|
||||
|
@ -93,7 +93,7 @@ setlsapwd (const char *passwd, const char *username)
|
||||
}
|
||||
if (data_buf)
|
||||
{
|
||||
memset (data.Buffer, 0, data.Length);
|
||||
RtlSecureZeroMemory (data.Buffer, data.Length);
|
||||
free (data_buf);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user