Windows Driver: wipe cached PIM values when passwords are wiped.

This commit is contained in:
Mounir IDRASSI 2015-12-21 01:52:07 +01:00
parent fcfcd1a2c4
commit 2fd699cc66
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ void AddPasswordToCache (Password *password, int pim)
void WipeCache ()
{
burn (CachedPasswords, sizeof (CachedPasswords));
burn (CachedPim, sizeof (CachedPim));
nPasswordIdx = 0;
cacheEmpty = 1;
}