diff options
author | george82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2005-02-03 14:25:00 +0000 |
---|---|---|
committer | george82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2005-02-03 14:25:00 +0000 |
commit | 4f7d1d34c8850abcfd1d79226d54fb24d48ab1c4 (patch) | |
tree | b948c36ba2eabc5f08ba823601a1b9320e12a2a2 | |
parent | 2b9d03dad57012fd5ee1da89e9cda9bbbff34ae9 (diff) | |
download | tigervnc-4f7d1d34c8850abcfd1d79226d54fb24d48ab1c4.tar.gz tigervnc-4f7d1d34c8850abcfd1d79226d54fb24d48ab1c4.zip |
Fixed a bug with crashing the application when openSessionFile uses
a few times.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@138 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r-- | rfbplayer/RfbProto.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rfbplayer/RfbProto.cxx b/rfbplayer/RfbProto.cxx index 68a0f57e..8c151997 100644 --- a/rfbplayer/RfbProto.cxx +++ b/rfbplayer/RfbProto.cxx @@ -85,6 +85,7 @@ void RfbProto::processMsg() void RfbProto::processVersionMsg() { vlog.debug("reading protocol version"); + memset(&cp, 0, sizeof(cp)); bool done; if (!cp.readVersion(is, &done)) { state_ = RFBSTATE_INVALID; |