aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/UserDialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer/UserDialog.cxx')
-rw-r--r--vncviewer/UserDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vncviewer/UserDialog.cxx b/vncviewer/UserDialog.cxx
index 901503c6..13821a9c 100644
--- a/vncviewer/UserDialog.cxx
+++ b/vncviewer/UserDialog.cxx
@@ -109,7 +109,7 @@ void UserDialog::getUserPasswd(bool secure_, std::string* user,
}
if (!user && passwordFileName[0]) {
- std::vector<uint8_t> obfPwd(256);
+ std::vector<uint8_t> obfPwd(8);
FILE* fp;
fp = fopen(passwordFileName, "rb");