summaryrefslogtreecommitdiffstats
path: root/common/rfb/Password.h
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2009-05-18 10:43:21 +0000
committerAdam Tkac <atkac@redhat.com>2009-05-18 10:43:21 +0000
commit7e6cb6ab0cde7ef5a305399740a63048b4fce574 (patch)
treef868fc4da19a64ba59660284d5a89779ffff9d39 /common/rfb/Password.h
parent57ab32dd371fc829b670b5f0fd81d95424dcb5d7 (diff)
downloadtigervnc-7e6cb6ab0cde7ef5a305399740a63048b4fce574.tar.gz
tigervnc-7e6cb6ab0cde7ef5a305399740a63048b4fce574.zip
[Bugfix] Add correct PlainPasswd constructor to avoid vncpasswd crash.
Reference: https://bugzilla.redhat.com/show_bug.cgi?id=499401 git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_0@3811 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/Password.h')
-rw-r--r--common/rfb/Password.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/rfb/Password.h b/common/rfb/Password.h
index ab26903a..e5196ee0 100644
--- a/common/rfb/Password.h
+++ b/common/rfb/Password.h
@@ -28,6 +28,7 @@ namespace rfb {
public:
PlainPasswd();
PlainPasswd(char* pwd);
+ PlainPasswd(int len);
PlainPasswd(const ObfuscatedPasswd& obfPwd);
~PlainPasswd();
void replaceBuf(char* b);