diff options
author | Hanno Böck <hanno@gentoo.org> | 2019-12-05 16:09:40 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-12-05 16:09:40 +0100 |
commit | 5a564629597b94399648378f4520bc262e369cf9 (patch) | |
tree | b929515a2c03d70d4b32d5b72556b92a5b21d439 /src/Core | |
parent | 4a215c2ddbb3a960c28f9f5a79e3d7ad8de77496 (diff) | |
download | VeraCrypt-5a564629597b94399648378f4520bc262e369cf9.tar.gz VeraCrypt-5a564629597b94399648378f4520bc262e369cf9.zip |
Make sure password gets deleted in case of exception in CoreUnix::MountVolume (#565)
Diffstat (limited to 'src/Core')
-rw-r--r-- | src/Core/Unix/CoreUnix.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Core/Unix/CoreUnix.cpp b/src/Core/Unix/CoreUnix.cpp index 423b5655..499ea439 100644 --- a/src/Core/Unix/CoreUnix.cpp +++ b/src/Core/Unix/CoreUnix.cpp @@ -465,6 +465,7 @@ namespace VeraCrypt continue; } + options.Password.reset(); throw; } |