mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-08 01:36:34 -05:00
Linux/MacOSX:solve issue of --stdin option not handling correctly passwords that contain a space character (reported and fixed by Codeplex user horsley1953)
This commit is contained in:
1 parent
8a2d9c4120
commit
f9fa0191ec
1 file changed
+1
-1
@@ -903,7 +903,7 @@ namespace VeraCrypt
|
||||
if (Preferences.UseStandardInput)
|
||||
{
|
||||
wstring pwdInput;
|
||||
wcin >> pwdInput;
|
||||
getline(wcin, pwdInput);
|
||||
|
||||
cmdLine.ArgPassword = ToUTF8Password ( pwdInput.c_str (), pwdInput.size ());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user