diff options
-rw-r--r-- | nlplug-findfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nlplug-findfs.c b/nlplug-findfs.c index 0df0f4c..db39c62 100644 --- a/nlplug-findfs.c +++ b/nlplug-findfs.c @@ -583,6 +583,7 @@ static void *cryptsetup_thread(void *data) CRYPT_ANY_SLOT, pass, strlen(pass), 0); pthread_mutex_unlock(&c->cryptsetup_mutex); + memset(pass, 0, sizeof(pass)); /* wipe pass after use */ if (r >= 0) goto free_out; |